How to solve a SSR/CSR mismatch using the DOM - podcast episode cover

How to solve a SSR/CSR mismatch using the DOM

Dec 29, 202252 minEp. 150
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

Sam and Ryan chat about how to avoid a flicker of content on initial render due to mismatched server/client rendering. They also chat about the pros and cons of React Hooks, and using StackBlitz containers to debug OSS issues.

Topics include:

  • 0:00 – Intro
  • 1:46 – Ryan Florence’s tweets about Hooks, useEffect and refs
  • 18:12 – How to avoid SSR/CSR rendering mismatches when your initial render depends on client-side APIs
  • 37:40 – Using StackBlitz for reproduction in open source
  • 45:17 – Isolated app development environments with JavaScript containers

Links:

For the best experience, listen in Metacast app for iOS or Android