Comment

Comment by Aeolun

I’m getting really tired of these distictions people make, saying either class components or hooks are better.

Class components were fine. Hooks are also fine.

They both give you plenty of rope to hang yourself with. And if a component in either form is hard to understand it’s probably just too f big.

What bother me most is those people that have no clue how hooks work, but claim their “functional” components are now faster, because they’ve read that functional is good somewhere.

parent Aeolun 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton