Re:React v16.3.0: New lifecycles and context API
by GenKali on Friday March 30, 2018 @02:44AM
(#16714208)
AFAIK the problem with the old context is that values in context were not used to determine whether or not the component tree should update. So if a context value in A changed, but no props/local state changed, it would not redraw the tree below it (B -> C). If C's render depended on the context value, it would not be redrawn to reflect the change.
[ Parent
| on HN ]
There are no comments on this comment yet.