Frontend First

Shared reactive data without context or effects


Listen Later

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
...more
View all episodesView all episodes
Download on the App Store

Frontend FirstBy Sam Selikoff, Ryan Toronto

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

19 ratings


More shows like Frontend First

View all
Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

986 Listeners