Hacker News new | ask | show | jobs
by orangepanda 1576 days ago
> After having to use [hooks] in a large React codebase for years now, I still can't stand them.

useEffect forcing you to clean up after yourself reminds me of RAII from C++. IMO, any "ugly" functional component with hooks is even worse when written as a class component.