Event Store - Cool Replacement for React Context
summary
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
chapters (6)
- 0:00Introducere eveniment
- 3:17Context React Context
- 8:30Problemă cu Context
- 13:18Soluție Event Store
- 18:45Beneficii Event Store
- 23:17Concluzii finale
related talks
06mContext in React
27mLet's Build React Context From Scratch in JS
20mLet's Build React Context From Scratch in JS
49mEvent-Sourcing your React-Redux applications
35mHandling Large-Scale State Management with Context and Hooks
17mLearn how to use the React Context API
12mContext with React 19
22mPowering Code Reuse with Context and Render Props
