18 Jan 23

Patterns.dev is a free book on design patterns and component patterns for building powerful web apps with vanilla JavaScript and React.


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.