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 – Intro3:21 – Using Zustand to refactor a useAuth hook34:08 – Module scope vs. context for shared state58:52 – 7 GUI tasksLinks:ZustandSebastian’s tweet on default context valuesSam’s Auth Provider using Zustand, SWR and Suspense7 GUIs
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.
NOW PLAYING
Shared reactive data without context or effects
No transcript for this episode yet
Similar Episodes
Sep 26, 2023 ·65m
Sep 26, 2023 ·66m
Sep 26, 2023 ·69m
Sep 26, 2023 ·64m
Sep 26, 2023 ·66m
Sep 26, 2023 ·61m