← Back to context

Comment by pier25

4 years ago

I think the best solution for this is just doing fullstack dev with SSR + partial hydration.

The issue is that, so far, we haven't figured out how to have a good fullstack DX.

Remix is probably one of the best attempts so far, but it still leans heavily towards being a very sophisticated renderer for the front end. The proof is you probably would not use Remix to create a 100% backend project with no front end. Same with SvelteKit or Next.

Until fullstack frameworks get more serious about the backend, we will be in this weird limbo.

In my current project I use Fastify as my main backend framework, and then use Svelte for SSR + hydration. I loose a lot of the frontend sophistication that SvelteKit brings to the table, but OTOH I have an amazing backend framework and total control and flexibility.