Re:Why I Hate Frameworks (2005)
by rictic on Tuesday October 19, 2021 @02:19PM
(#28921484)
And with hooks that's become even more true, there's now a distinction between React functions and regular JavaScript functions, and you can only call a React function from another React function.
[ Parent
| on HN ]
Re:Why I Hate Frameworks (2005)
by purplerabbit on Tuesday October 19, 2021 @09:24PM
(#28925761)
Not entirely true. Hookless function components can be called as regular old functions just fine