DEV Community

Discussion on: Building JavaScript Frameworks to Conquer eCommerce

Collapse
 
drsensor profile image
૮༼⚆︿⚆༽つ

I've been wondering if there is an SSR framework that doesn't tied to specific back-end engine 🤔 (e.g node, deno)
I see most of SSR frameworks require Nodejs. Hope someday this trend will change.

Collapse
 
ryansolid profile image
Ryan Carniato

Well there are platform required tools. It's a matter of not to be tied to them. We are seeing the adoption of pluggable adapters in things like SvelteKit which support a variety of targets like node or various serverless environments (Vercel, Cloudflare, Begin).

Marko has recently refactored to allow for use on non-node environments like Cloudflare workers. I think we are already seeing the shift.

Collapse
 
drsensor profile image
૮༼⚆︿⚆༽つ • Edited

That's a good news. I heard SvelteKit move away from Vite. So I'm guessing it is because some parts of Vite rely on Rollup which need to be run inside Node 🤔

Thread Thread
 
drsensor profile image
૮༼⚆︿⚆༽つ

Nevermind. I confuse it with svite 😅

Thread Thread
 
ryansolid profile image
Ryan Carniato • Edited

I haven't seen that. To be fair there is a difference between development and deploy environments. I think given the tooling moving off Node is a huge effort and I expect things to stay there for the time being. But just because you use Node to build your solution doesn't mean it requires Node to run it. An app built with Vite is deployed without Vite. My Cloudflare Workers Hacker News demo for Solid is built with Vite but runs using that non-Node platform including streaming SSR leveraging Web (not Node) streams.