by midway · 7y ago · 0 comments
SSR throughput of your server is significantly less than CSR throughput. For react in particular, the throughput impact is extremely large. ReactDOMServer.renderToString is a synchronous CPU bound call, which holds the event loop, which means the server will not be able to process any other request till ReactDOMServer.renderToString completes.
[...]
Using Pre-Rendered CRA addresses both the SEO and performance concerns around using CRA without the complexity that Next.js introduces
[1] https://codeburst.io/next-js-ssr-vs-create-react-app-csr-745...
SSR: Server-side rendering
CSR: Client-side rendering
CRA: create-react-app