trying to decide between React Router 7 (Remix), TanStack Router, Next.js, or something else.
Comments
johncoltrane•21h ago
(detailed use case) => detailed reasoning
blinkbat•20h ago
just want something comparable to next (api layer, ssr ability, nice surface api), for a relatively simple case (oauth with ms, simple api to query other apis).
I'm avoiding Next because deploying it on anything non-vercel sucks.
objcts•19h ago
i've been having fun building with astro on cloudflare workers... i have a few apps that have API endpoints, content, and react/svelte components all glued together in one codebase. it's been relatively easy to add drizzle and cloudflare's D1 database to handle data stuff alongside everything else.
journal•14h ago
Does not using it count as alternative?
csomar•7h ago
React Router 7 is all you need. You could also use Next.js @ 15.1 with strictly static generation and freeze at that version. Use next routing for statically generated pages and React Router for dynamic pages.
raooll•3h ago
I would go with https://tanstack.com/ as that has components to replace almost all Next.js features.
brazukadev•3h ago
Just don't use it. NextJS is not needed, the concept of BFF is just marketing.
johncoltrane•21h ago
blinkbat•20h ago
I'm avoiding Next because deploying it on anything non-vercel sucks.