Shared reactive data without context or effects - podcast episode cover

Shared reactive data without context or effects

Jul 19, 20211 hr 3 minEp. 126
--:--
--:--
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 talk about whether stores in module scope are a better alternative to Context for sharing global state in React apps.

Topics include:

  • 0:00 – Intro
  • 3:21 – Using Zustand to refactor a useAuth hook
  • 34:08 – Module scope vs. context for shared state
  • 58:52 – 7 GUI tasks

Links:

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