3 ms·
Hey - author here. I did not mean to imply that state management is only useful to mitigate the prop drilling problem. In fact, in #2, I give another example wh
by veeralpatel979 7y ago
Hey - author here. I did not mean to imply that state management is only useful to mitigate the prop drilling problem. In fact, in #2, I give another example where state management is useful.
- brlewis 7y agoThe first section reads as if it's explaining why state management is needed at all, not as if it's giving one example of something state management is good for. I couldn't make sense of the second section either. It sounds like it's recommending a global store as the solution to updating a single component. The correct state management for a single component is what comes with React.