EPISODE · Jul 19, 2021 · 1H 3M
Shared reactive data without context or effects
from Frontend First · host Frontend First
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: Zustand Sebastian’s tweet on default context values Sam’s Auth Provider using Zustand, SWR and Suspense 7 GUIs
Embed this episode
What this episode covers
Sam and Ryan talk about whether stores in module scope are a better alternative to Context for sharing global state in React apps.
Ready to play
Shared reactive data without context or effects
No transcript for this episode yet
Similar Episodes
No similar episodes found.
Similar Podcasts
No similar podcasts found.