11 ms·
What? Redux doesn't do any performance optimizations.
by kecupochren 5y ago
What? Redux doesn't do any performance optimizations.
- notpachet 5y agoNot by itself, but most people who use React + Redux use the (unsurprisingly named) react-redux glue library, too. That does a lot of the "should component update" calculations for you as a function of the computed `map[State/Dispatch]ToProps` result. (There are still some gotchas with caching selectors and so on, but I personally find those a lot easier to implement post-fact than memoizing hook soup codebases once you realize you have a problem.)
- kecupochren 5y agoOh, I never knew that. TIL