~/talk

Event Store - Cool Replacement for React Context

TalkinRomanianat JS Conf Armenia 2021 · on Saturday, 2021-10-23· [react]
links:none on file
slides:none on file

Presents an alternative to React Context called an Event Store: a tiny provider component, a minimal event emitter (subscribe/emit) and a useEvent hook. Shows replacing multiple Contexts in a live React app to remove prop drilling and enable selective subscriptions so only components that subscribe re-render, and includes provider/emitter/hook signatures plus a demo proving it works for medium-sized component trees.

AI-written summary · about

  1. 0:00Introducere eveniment
  2. 3:17Context React Context
  3. 8:30Problemă cu Context
  4. 13:18Soluție Event Store
  5. 18:45Beneficii Event Store
  6. 23:17Concluzii finale
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.