4 ms·
This is your brain on Redux. Context does not trigger the re-rendering of all children. Updating state does. And you prevent that propagating effect by wrappin
by mikojan 4y ago
This is your brain on Redux.
Context does not trigger the re-rendering of all children. Updating state does. And you prevent that propagating effect by wrapping direct descendants in React.memo().
- yawnr 4y agoGuess what, this entire thread is literally people discussing using context for… app state. But yeah thanks for being patronizing