You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AFIK, React Context is really not intended for state management and requires heavy amounts of memoization to avoid unnecessary re-renders. What is the justification for using ReactContext for state management?
there is no way for a component that consumes a context to skip updates caused by new context values, even if it only cares about part of a new value.
This discussion was converted from issue #974 on November 03, 2021 16:28.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
AFIK, React Context is really not intended for state management and requires heavy amounts of memoization to avoid unnecessary re-renders. What is the justification for using ReactContext for state management?
https://blog.isquaredsoftware.com/2020/05/blogged-answers-a-mostly-complete-guide-to-react-rendering-behavior/#context-and-rendering-behavior
https://frontarm.com/james-k-nelson/react-context-performance/
gz#16399
Beta Was this translation helpful? Give feedback.
All reactions