Comment

Comment by dfabulich

If you enjoy this approach, you might enjoy the Crank JS framework. https://crank.js.org/

> Crank uses generator functions to define stateful components. You store state in local variables, and `yield` rather than `return` to keep it around.

parent dfabulich 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton