Wrapping a reducer inside an optimistic wrapper and combining it into reducer makes Redux fails.
Because you suppose that there is only one initialization pass, but you should assume that as long as state === undefined, this is initialization, I think.
Wrapping a reducer inside an
optimistic
wrapper and combining it into reducer makes Redux fails.Because you suppose that there is only one initialization pass, but you should assume that as long as
state === undefined
, this is initialization, I think.