Comment

Comment by notjustanymike

I saw that, it leaves out a lot. In production you'll need something that formats the response and handles errors, which means defining a custom Event Source. It seems like the functionality quickly returns to traditional javascript when any normal amount of complexity is required.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton