Get Rich Quick With React Context
summary
Demo shows building an advertising provider component and advertising slot consumer that use React 16.3 context to pass a single activate method into slots, encapsulating Google DoubleClick for Publishers integration. Migration steps from the old context API to createContext are shown, and the result is a reusable module (open sourced as react-ribbet) that initializes ad slots, talks to the ad server, and runs in production, removing global state and class-only constraints.
AI-written summary · about
related talks
06mContext in React
17mLearn how to use the React Context API
20mLet's Build React Context From Scratch in JS
27mLet's Build React Context From Scratch in JS
12mContext with React 19
22mPowering Code Reuse with Context and Render Props
35mHandling Large-Scale State Management with Context and Hooks
31mAll about Context API
