~/talk

Fun With Fiber Custom Renderers

Talkat React Amsterdam 2017 · on Friday, 2017-04-21· [react]
slides:none on file

React Fiber exposes a first-class custom-renderer pathway that uses a host config with concrete hooks like createContainer and updateContainer, createInstance, createTextInstance, prepareUpdate and commitUpdate so a renderer actually builds, updates and tears down target instances. Examples include an emoji renderer that mutates text in finalizedInitialChildren, a React→Electron menu renderer, react-hardware for Arduino, and a full audio synth using a synth manager with MIDI that runs in Node/core audio and the browser and demonstrably plays sound; API surface is promise of a formal export but not fully exposed yet.

AI-written summary · about

  1. 0:00Start
  2. 1:09FUN WITH FIBER CUSTOM RENDERERS
  3. 1:41REACT CORE ALGORITHM REWRITE
  4. 2:22PRIORITY BASED SCHEDULING OF UPDATES
  5. 2:52SCHEDULING IS IMPORTANT
  6. 3:03WITHOUT SCHEDULING AND PRIORITY...
  7. 3:36FIRST CLASS CUSTOM RENDERER API
  8. 4:37ELEMENTS & INSTANCES
  9. 6:05RENDERERS TURN ELEMENT DESCRIPTIONS INTO TARGET INSTANCES
  10. 6:42STACK RENDERERS
  11. 7:48RENDERER LIFECYCLE
  12. 11:17WRITING A CUSTOM RENDERER
  13. 12:23CUSTOM ELEMENTS
  14. 14:21COOL RENDERERS
~/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.