public static WeatherState ReduceFetchDataResultAction(WeatherState state, ActionFetchDataEffectResult action) => new WeatherState( isLoading: false, forecasts: action.Forecasts);
public static WeatherState ReduceFetchDataAction(WeatherState state, ActionFetchData action) => new WeatherState( isLoading: true, forecasts: null);