Comment

Comment by andreasgonewild

Been there, done that :) It's a neat trick, but the issue for me is that you still need to pass a separate struct for state which breaks the illusion enough that you might as well just write an ordinary iterator.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton