~/talk

Deep Dive into React Portals

Talkat ReactFoo Pune 2018 · 2018-01-19..01-20· [react, web-platform]

Shows that React 16 Portals let a modal escape parent CSS like overflow:hidden by rendering into a dedicated DOM node (an app-level div) while keeping the component logically as a child, with working demo code and a live login modal that moves out of the header and still receives props and state updates. Also shows portals rendering into non-React DOM (even another div outside the app) and that Enzyme mount/shallow tests still work and portal target div#modal is the simple implementation.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00Example
  3. 2:40Login
  4. 11:14Login Box
  5. 13:35App Layout
  6. 16:10Advanced Model
  7. 18:00Login Model
  8. 20:50Profile Model
  9. 23:35Profile Page
  10. 26:10Docking Button
~/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.