2 ms·
Hooks don't change the meaning of const. The whole render function is re-run each time something is modified. There is ZERO internal mutation going on in render
by ratww 7y ago
Hooks don't change the meaning of const. The whole render function is re-run each time something is modified. There is ZERO internal mutation going on in render functions.
I suggest researching and learning how something actually works before calling someone else's work a "dirty hack" or "f'ing joke".
(And afaik hooks were Sebastian Markbage's idea... f'ing genius if you ask me)