Adapting to a platform
What if frameworks have adaptation as a built-in primitive? That's what SvelteKit provides through Adapters. It's an API for third-party developers to define how to adapt a SvelteKit app to different hosting providers. For example, the netlify-adapter adapts the output to Netlify and does things like turning endpoints and SSR pages into functions that run on-demand. Because the framework allows SSR, CSR, and static rendering, a SvelteKit project can contain the web app, documentation website, and marketing and landing pages. Cool? Isn't it. Adapters decouple the deployment platform from the framework to prevent vendor-locking.
I’m still new to the framework, but I think its concepts are powerful, and adapters are an excellent example of that.