This reinstalls the Setting reducer in Home reducer. It was most likely left behind during the "protocol" conversion.
As Reduce and the other ifLet reducers are not effectively handling .settings actions, they all commute with Settings, so this reducer can be installed arbitrarily at the end of the reducer's chain with the other child reducers.
This should fix #170
I also took the liberty to modernize homogenous EmptyReducer().ifCaseLet… into Scope(state: /CasePath…, but I can revert if you prefer.
This reinstalls the
Setting
reducer inHome
reducer. It was most likely left behind during the "protocol" conversion.As
Reduce
and the otherifLet
reducers are not effectively handling.settings
actions, they all commute withSettings
, so this reducer can be installed arbitrarily at the end of the reducer's chain with the other child reducers.This should fix #170
I also took the liberty to modernize homogenous
EmptyReducer().ifCaseLet…
intoScope(state: /CasePath…
, but I can revert if you prefer.