1. EachPod

The Costs of SSR in Next.js

Author
Frontend First
Published
Tue 13 Jul 2021
Episode Link
https://frontendfirst.fm

Sam and Ryan talk about how Next.js places an upfront cost on app teams for the sake of scalability and server-side rendering, and how to avoid this cost when building apps with user-specific data where SSR is not a priority. They also talk about avoiding Context for global state in React apps.

Topics include:

  • 0:00 – Intro
  • 1:51 – Avoiding Context for global state in React
  • 22:22 – Safeguarding _app in Next.js & dynamic segments in the router

Links:

Share to: