2 ms·
I’m curious about alternatives that offer good file-based routing support. Has anyone seen any good alternatives?
by rickcarlino 2y ago
I’m curious about alternatives that offer good file-based routing support. Has anyone seen any good alternatives?
- zelphirkalt 2y agoQuite easy to implement oneself, I would say.
- molebury1 2y ago[flagged]
- officialchicken 2y agoYes, that's the idea, dudebro! When the market does not meet your needs - you meet the market.
- ivanjermakov 2y agoLiterally. My experience with routing tools is that it's often easier to implement it from scratch perfectly suited for your use case instead of integrating existing general solution.
- Zealotux 2y agoRemix is better in every aspect.
- Aeolun 2y agoI really don’t like how remix stuffs their philosophy down your throat. Old next at least was more free form.
- Zealotux 2y agoIf you agree with Remix's philosophy (and after years of front-end development, I would say I do), it's heaven. New Next is now as opinionated and much worse, in my opinion.
- ulrischa 2y agoI heard Astro is good
- toastercat 2y agoSvelteKit is nice, but also consider Deno Fresh.
- chuckadams 2y agoNuxt just works out of the box. It can get as complex as Next, but (most of) the footguns aren't loaded, cocked, and aimed already like everything in the React world seems to be (skip the component auto-imports tho, that one will bite you eventually) . Been using it to build a completely static SPA for years now, and it never makes a peep about server-side logic when working in that mode. Suspense just works, happening automatically when you have an async component, without any extra ceremony needed on your end. And yes, it has a pretty nice file router built in, and useRoute() works everywhere. If file routing is all you want though, then skip Nuxt and use vite-plugin-pages (which also works with React).
- rickcarlino 2y agoMentioned so far: - Deno Fresh: https://fresh.deno.dev/ https://fresh.deno.dev/ - Astro: https://docs.astro.build/en/guides/routing/ https://docs.astro.build/en/guides/routing/ - Remix: https://remix.run/docs/en/main/file-conventions/routes https://remix.run/docs/en/main/file-conventions/routes - Nuxt: https://nuxt.com/docs/getting-started/routing#pages https://nuxt.com/docs/getting-started/routing#pages - SvelteKit: https://kit.svelte.dev/docs/routing https://kit.svelte.dev/docs/routing