3 ms·
>I struggle to grok what hooks do that I was missing before. I wrote about this too: https://medium.com/@dan_abramov/making-sense-of-react-hooks-fdbde8803889
by danabramov 8y ago
>I struggle to grok what hooks do that I was missing before.
I wrote about this too:
https://medium.com/@dan_abramov/making-sense-of-react-hooks-fdbde8803889 https://medium.com/@dan_abramov/making-sense-of-react-hooks-...
Hope it helps.
As another commenter note, the OP article discusses the pathological case. An API can make a hundred cases simpler but discussions will always focus on the few ones that got harder. The point of this post is to show how to work through this case and why the _end result_ is more flexible and powerful than before.
- Waterluvian 8y agoThanks. Generally speaking my mindset is that the benefits will become clear in time, or they will be leveraged by others and invisible to my everyday use. But my final point still stands: the win with how React is evolving is that I can completely ignore these new features for a short/long/infinite amount of time and not be in trouble.