Comment

Comment by jrowley

They allow you to abstract certain kinds of logic in really convenient ways.

If you haven’t seen usehooks.com check it out.

Here is a compelling example of combining a few hooks together for an elegant solution:

https://usehooks.com/useDarkMode/

parent jrowley 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton