~/talk

Get Rich Quick With React Context

Talkat React Finland 2018 · on Wednesday, 2018-04-25· [react]
slides:none on file

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

~/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.