Hacker News new | ask | show | jobs
by pier25 1116 days ago
> And then there’s how they treat navigation

Yeah, and that awful file-based routing (IMO).

I feel that the strongly opinionated approach worked wonders for Svelte since the (let's call it) reactive components paradigms was well understood by then. But translating that approach to the backend has not been very successful because flexibility is paramount.

1 comments

Yeah and the attitude towards suggestions is pretty poor. I’m in too deep to refactor right now, but Inertia looks like a good option eventually. Keeping the benefits of svelte while moving to a better backend. I’m glad it was posted.
What I did was integrating Svelte with Fastify.

Initially that required lots of custom stuff (before SvelteKit and Vite had SSR) but now it's fairly easy to integrate with Vite. I have this repo I used to experiment a bit with that.

https://github.com/PierBover/fastify-vite-svelte-template