Closed adriaanwm closed 7 years ago
It was to make reducers curryable -- You could bind an action function that you can reuse with new state values. This is how I wrote my reducers in a side project when I made atom. But in you work stuff, we basically just use atom-lens-reducer.
ANYWAY, does it make sense to migrate to Redux instead of merging this? @adriaanwm
@staydecent yeah If we're going to make the switch then lets hold off on this one.
Cool! Closing in favour of swapping to Redux.
Doesn't allow features like time travel, but is a pretty nice improvement over using the console to log state changes and actions.
@staydecent is there a reason reducers in atom use (action, state) while redux use (state, action) ?