News for hackers. Stuff that matters.
Re:Understanding React Compiler by ttfkam on Friday June 28, 2024 @10:21AM (#40820863)
No accounting for taste, I suppose. For me, class components were absolutely horrid and hooks simply made it less horrid by comparison. I guess anything can seem amazing after you've been stuck in knee-deep mud.
Re:Understanding React Compiler by Izkata on Friday June 28, 2024 @04:58PM (#40825240)
Hooks were how they re-added necessary functionality to function components that class components already had. They definitely didn't think it through.