this post was submitted on 09 Mar 2024
3 points (80.0% liked)
JavaScript
140 readers
1 users here now
A community to discuss all things JavaScript (and related areas, i.e. TypeScript)
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
A lot of guides confusing nowadays.
But overall if you are looking for SPA - React can be bundled with Vite, that's what we have at my current company. Vite is good and straightforward, it is built for the purpose and does majority of the things out of the box in comparison to the Webpack.
If you need SSR, you can use Next, though I would prefer Remix https://remix.run/blog/remix-vs-next, IMO they did better job to API surface than Next.
But I would not bother, unless you need search engine optimization. For majority of web apps that do not need it - benefits of SSR are negligible.