Comment

Comment by frosted-flakes

That's not the only problem with your approach. It is extremely common to use the output of one hook in the input of another, and that's only possible if the hooks exist in the function body.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton