Re:A Critique of React Hooks Addendum
by ricardobeat on Thursday May 07, 2020 @03:11PM
(#23106965)
Indeed. IIRC redux itself tried that in an earlier version but reverted to a custom update / forced render mechanism due to performance bottlenecks with Context.
Yep. References with the details on what we tried to do in v6, and how we rewrote things in v7:
- https://github.com/reduxjs/react-redux/issues/1177
- https://blog.isquaredsoftware.com/2018/11/react-redux-histor...
You can DIY a Redux imitation with hooks pretty easily but making it as performant as Redux is harder.