News for hackers. Stuff that matters.
Re:React I love you, but you're bringing me down by theteapot on Tuesday September 20, 2022 @07:41PM (#32919231)
> I'd go as far as to say class-based components are strictly inferior because they force you split your behavior logic across lifecycle methods and are not easily composable.

That's not strictly true. You can implement "hooks" on top of a class based components. It's essentially the strategy pattern.

There are no comments on this comment yet.