PLAY PODCASTS
Shared reactive data without context or effects
Episode 126

Shared reactive data without context or effects

Sam and Ryan talk about whether stores in module scope are a better alternative to Context for sharing global state in React apps.

Frontend First

July 19, 20211h 3m

Audio is streamed directly from the publisher (cdn.simplecast.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

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: