3 ms·
Are you asking more about how hooks work internally, how to use them, or why they're designed this way? I'd suggest reading these couple articles to understand
by acemarke 5y ago
Are you asking more about how hooks work internally, how to use them, or why they're designed this way?
I'd suggest reading these couple articles to understand more about the "how they work" and "how they're designed" aspects:
- https://www.swyx.io/hooks/ https://www.swyx.io/hooks/
- https://overreacted.io/why-isnt-x-a-hook/ https://overreacted.io/why-isnt-x-a-hook/
- https://overreacted.io/react-as-a-ui-runtime/ https://overreacted.io/react-as-a-ui-runtime/