Comment

Comment by mosdl

Functions are nice for simple components, but any non-simple component becomes unreadable with hooks, classes are easier to read/reuse and debug.
parent mosdl 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton