Auth-based route guards in Next.js and debugging in production - podcast episode cover

Auth-based route guards in Next.js and debugging in production

Mar 08, 20221 hr 7 minEp. 138
--:--
--:--
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 adding authentication-based route guards to Next.js, tradeoffs between one-shot data loading vs. reactive pages in React apps, and instrumenting errors with Sentry.

Topics include:

  • 0:00 - Intro
  • 8:07 - Auth-based route guards and synchronized spinners in Next.js
  • 26:34 - Tradeoffs of loading once on render vs. fully reactive pages
  • 42:30 - Ryan’s video on Deploy notifications
  • 47:45 - Errors + stale auth + Sentry

Links:

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