4 ms·
It's quite trivial to hack your own react-redux using the new context api. It makes a lot of sense too - you get type safety, redux state management, and the re
by gwillz 8y ago
It's quite trivial to hack your own react-redux using the new context api. It makes a lot of sense too - you get type safety, redux state management, and the redux dev tools. Although I do worry that old-mate react-redux hasn't transitioned yet for a good reason.
Anyway, as soon as I realised that the two are complimentary, I was always kind of upset at articles like this that misled me for so long.
- acemarke 8y agoPlease see my other comments in this thread about our current work to refactor React-Redux to use new context. FWIW, it's not "just" about new context - there's a lot of other aspects we have to take into account, including trying to figure out how to best make React-Redux work with the upcoming "async rendering" capabilities of React, as well as the multitude of ways the community is using React-Redux beyond just the standard patterns.
- gwillz 8y agoYes, and I'm really excited to see it. Not to say I don't already use react-redux, it's simply a good academic process to write your own. It's good to know that everyone is together with bringing on async rendering. Thanks for your efforts!