Remix.run Logo
▲ post-it 2 hours ago

We use nextjs at work and I hate it. Why write each view once when you could write it twice?

I'm open to the idea that we're doing it wrong and that there's a correct and pleasant way to write nextjs, but I think with the tools available today, everyone should just profile and optimize their app so they don't need to render it serverside.

▲chrisweekly 2 hours ago | parent | next [-]

I recommend ditching Next.js in favor of Tanstack Start^1, an alternative metaframework that gives you more freedom, better DX, and better defaults. Stick w the best aspects of SPAs and introduce SSR selectively if and when it makes sense.

1. https://tanstack.com/blog/tanstack-start-1-0

▲chrisweekly 14 minutes ago | parent [-]

I'd be grateful if whoever downvoted my comment could explain what they found objectionable.

▲tengbretson 2 hours ago | parent | prev [-]

Why are you writing the same view twice?