Hacker News new | ask | show | jobs
by midway 2682 days ago
Interesting read from Dec 2018 [1] about Next.js:

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...

1 comments

Acronym translations:

   SSR: Server-side rendering
   CSR: Client-side rendering
   CRA: create-react-app