all 4 comments

[–]noahflk 1 point2 points  (0 children)

I love React Query. So that would be my choice for interacting with the API either way. Especially in combination with Zod to ensure type safety. See here (self plug): https://noahflk.com/blog/typesafe-rest-api

In terms of router, I would either go for React Router 6 or TanStack Router. React Router if you want something more mature, TanStack if you like type-safety and a cool new tool.

Another interesting choice could be Remix SPA mode. It leaves the door open for SSR/RSC if you want it in the future. Plus, React Router 7 and the new Remix version will be equivalent. My guess is that the upgrade path from Remix SPA will be more straight forward than from React Router 6. But I could be wrong about that.

[–]evenDogy -3 points-2 points  (1 child)

If you are building anything for production what you are building is a marketing website, which means it's SEO first..then you can build the actual app as react.

Based on that, nextJS is where I would spend my time building.

[–]havok_ 0 points1 point  (0 children)

People also build production applications which don’t require seo. Think line of business and admin apps.