10 ms·
This is exactly how I feel. I remember watching the hooks announcement video and being surprised that classes, 'this', and the lifecycle methods were considered
by stack_framer 5y ago
This is exactly how I feel. I remember watching the hooks announcement video and being surprised that classes, 'this', and the lifecycle methods were considered so ... problematic. It seemed like hooks were solving problems that, for me at least, were totally and completely non-existent.
It didn't help that my first foray into hooks was trying to build a simple clock with `setInterval`:
https://overreacted.io/making-setinterval-declarative-with-react-hooks/ https://overreacted.io/making-setinterval-declarative-with-r...
I really need to give Svelte a try.