r/reactjs • • Jul 28 '19

Server-client rendering technique spectrum

https://developers.google.com/web/updates/images/2019/02/rendering-on-the-web/infographic.png
623 Upvotes

48 comments sorted by

View all comments

22

u/timne Jul 28 '19

Probably good to note that Next.js covers CSR with prerendering and full CSR too. You can choose the rendering strategy per page.

8

u/[deleted] Jul 28 '19

Right! That flexibility is what makes me curious about it at the moment.

5

u/KB1RMA Jul 28 '19

It's a really great framework. I just launched a fairly high profile site on it recently and think it's fantastic. Once your site gets more complex you'll find yourself customizing more and more. But Next out of the box is absolutely fantastic for getting up and running with SSR. Even more so with v9 and the auto static page features.

3

u/[deleted] Jul 28 '19

What's your experience with the next.js router? We had fair amount of issues with redirects and pushRoute.

2

u/KB1RMA Jul 29 '19

I haven't had any issues at all really - What have you been experiencing? We did have an accessibility related where the screenreader didn't announce on a page change, but that was a very easy workaround. Curious to hear what your issue was.

1

u/dreadful_design Jul 29 '19

What issues? I've had pretty good success. One has tow write a simple function to check for the response object but that's the only gotcha I ran into.