Hacker News new | ask | show | jobs
by revicon 2059 days ago
And create-react-app would be all I would ever need except that SEO on single page apps that don't have data loaded upon load really sucks compared to server side rendered pages. Is there a way to build a site using create-react-app and enable server side rendering without implementing a whole other framework like Nextjs?
2 comments

We used React Router's ssr process described here[1] on my last React project. It worked ok, but there's a bit of hoop-jumping to go through if your pages are populated by async data.

[1] https://reactrouter.com/web/guides/server-rendering

Next.js really isn't that bad. If you need SSR, it is definitely the best way to go.