02 Sep 25
Send data, say goodbye, and move on. That’s JavaScript’s Beacon in one line.
22 Mar 25
17 Feb 23
With SWR, components will get a stream of data updates constantly and automatically. And the UI will be always fast and reactive.
24 May 22
22 Feb 22
The way SvelteKit marries server-side rendering and API requests is incredibly well done. The framework addresses the differences in server and client environments by injecting a fetch function into the load callback of page- and layout components. This very flexible approach makes sure that there is always a valid fetch whether it is on the server (e.g. node-fetch) or on the client (e.g. window.fetch). This also allows different platforms to specify their own fetch which is important on platforms like Cloudflare workers, Vercel Edge Functions, or Deno deploy.