4 ms·
I've been out of the React game for a while, and this is the first I've read about Hooks (or at least the first time I read enough to look into them). If I unde
by afranchuk 6y ago
I've been out of the React game for a while, and this is the first I've read about Hooks (or at least the first time I read enough to look into them). If I understand things correctly, they are automatic dependency tracking functions that will rerun as needed? Kinda like S.js [1]? Though that's different in that it's built around only that functionality, not integrated into a larger system.
[1]: https://github.com/adamhaile/S https://github.com/adamhaile/S
- acemarke 6y agoNot exactly. I'd strongly recommend reading through the React hooks docs, as well as the other hooks resources I have linked here: https://github.com/markerikson/react-redux-links/blob/master/react-hooks.md https://github.com/markerikson/react-redux-links/blob/master...