You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run this, only nil is printed. TestStringSet was called also wasn't printed, which means that the handler wasn't called.
When I change the initialState argument of createReducer from nil to any non-nil value ({} for example"), TestStringSet was called and foo are printed, in that order.
The text was updated successfully, but these errors were encountered:
I stared at this for awhile, since it didn't make sense to me why this would happen!
This was fixed in #33, which probably wasn't in the last binary release for Rodux. You should be able to pull in the latest Git master via Rojo, but I'll go ahead and publish a new release as well.
Consider the following code:
When I run this, only
nil
is printed.TestStringSet was called
also wasn't printed, which means that the handler wasn't called.When I change the initialState argument of
createReducer
fromnil
to any non-nil value ({}
for example"),TestStringSet was called
andfoo
are printed, in that order.The text was updated successfully, but these errors were encountered: