Re:React I love you, but you're bringing me down
by imbnwa on Tuesday September 20, 2022 @08:37PM
(#32919643)
>Also defining functions inside other functions is very much the staple of functional programming.
Isn't the difference that JavaScript runtimes don't compile them away unlike functional runtimes?
I've used class components and I think hooks are much better than the monstrosity that the lifecycle methods would usually become.
Also defining functions inside other functions is very much the staple of functional programming.