Create web app with shadow-cljs and Svelte

No, not at all. Svelte very much relies on mutable JS interop that can be analyzed at compile time to add its “magic”. Idiomatic CLJS code will look nothing like the code Svelte is looking for or even able to handle.

There are however some fantastic ideas in Svelte and some of them I definitely plan on integrating in my experiments I started a while ago. Combining this with some of the good ideas in React it should be possible to build something CLJS native that offers a bunch of nice features over just using a wrapper over external JS libs. I very much plan on continuing that work in the future.

10 Likes