

SvelteKit is now fully supported in WebContainers
source link: https://blog.stackblitz.com/posts/sveltekit-supported-in-webcontainers/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

SvelteKit is now fully supported in WebContainers
We've been big fans of Svelte for a long time—in fact, it was one of the first frameworks we ever added support for on StackBlitz! Our admiration of Rich's work (and vice versa) has only grown stronger over the past few years as both Svelte and StackBlitz have evolved rapidly, enabling new types of development and debugging experiences for modern web apps.
To celebrate a major milestone, our team has been hard at work on a little surprise for the Svelte community ahead of SvelteSummit: We're excited to announce the official support for SvelteKit in WebContainers! 🎉
SvelteKit was one of the best tests of WebContainer's ESM implementation and took a few months to nail down. The end result is pretty magical - in one click, you can now boot a fullstack SvelteKit application entirely inside your browser in milliseconds.
Try it out now (don't blink!)
Why SvelteKit? Permalink
While Svelte (the most loved web framework❤️) on its own is already an awesome tool, giving developers a pragmatic way to code UI and the ability to use reactive programming without much hustle, when building a real-world application there is much more to consider. You need to work on routing, SSR aspect, code-splitting, and maybe even various serverless platforms.
This is why UI libraries such as React and Vue have corresponding frameworks – Next.js and Nuxt – that help deal with these non-obvious challenges in a nice, organized way. And this is what SvelteKit is for Svelte.
To put it another way: you might occasionally use Svelte-only components in some simple scenarios, but when building a more involved app or website, you should probably use SvelteKit.
SvelteKit on WebContainers™ Permalink
SvelteKit not only enables you to write performant apps but also provides a blazing-fast development experience – and that is due to the fact it uses Vite under the hood.
On our side, we've already made Vite a first-class citizen on StackBlitz a while back, and recently we have also committed to supporting the Vite ecosystem even more since we strongly believe it serves the browser platform as a whole.
With this in mind, it was inevitable that SvelteKit should be supported on WebContainers. Now, as it quickly approaches its 1.0 release we are happy to enable SvelteKit as our official starter template!
WebContainers are shockingly good. It's absolutely mindblowing that we can now build fullstack SvelteKit apps inside a freaking web browser, and I doff my cap to the mad geniuses that made it possible.
It's surely only a matter of time before locally installed IDEs go the way of the Walkman.
Rich Harris
Svelte & SvelteKit creator
What's next? Permalink
Now that starting a SvelteKit project is just a click away from the millions of developers using StackBlitz, we can't wait to see new projects built with it. And if you make one you had fun with, make sure to us know so we can share them with our @stackblitz community!
Huge thanks go to our platform engineering team for making all this technically possible, and to Rich Harris for supporting us with his unmatched excitement about the web!
Recommend
-
7
Introducing WebContainers: Run Node.js natively in your browserEric Simons May 20, 2021Hi there! We’re StackBlitz, an online...
-
13
几年前,我们意识到网络正朝着一个关键的拐点发展。WebAssembly 和新功能 API 的出现...
-
10
WebContainers能让Node.js在浏览器中本地运行Next.js和Google的团队合作开发一项新技术:WebContainers:WebAssembly和新功能API的出现使编写基于WebAssembly的操作系统似乎变得可能,该操作系统功能强大到...
-
11
Python now fully supported in Snyk Code
-
8
WebContainers, Running Node.JS in the Browser Jul 30, 2021 2...
-
4
Announcing WebContainers Astro support! 🛰Tomek Sułkowski Sep 15, 2021Today we are proud to share that our amazing enginee...
-
9
Remix v1 has landed, and it runs on WebContainersThere are few people who have influenced the React ecosystem as much as Michael Jackson, Ryan Florence, and Kent C. Dodds. Their experiences as library...
-
9
Bringing WebContainers to all Browsers: a call to action for COEP CredentiallessQuestion: Why don’t StackBlitz WebContainers work in Safari, Firefox or on-prem with StackBlitz Enterprise?While...
-
24
WebContainers are now supported in Firefox on desktop and AndroidAlmost e...
-
8
WebContainers now run on Safari, iOS, and iPadOSWe are finally able to let you in on a secret: in January we successfully ran the first WebContainer projects on Safari. Today we are excited to announce tha...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK