Comment

Comment by RandomRandy

One advantage over using fetch is that the WebAssembly approach seems to bypass CORS

> If you inspect the devtools network tab of your browser, you see that everything happens over a single WebSocket to wss://ws.r-universe.dev. The browser is not making the HTTP requests, in fact this would not even be possible because we download the files from a host that does not enable CORS.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton