~/talk

Bringing webgl to react

Talkat ReactEurope 2020 · 2020-05-14..05-15· [react, web-animation]
github:drcmda
slides:none on file

A React reconciler called react-three-fiber translates JSX into three.js instances so you declare scenes instead of writing imperative setup; a minimal proof used ~169 lines to recreate older bindings, a cube example drops ~70 lines of three.js boilerplate to less than half with hooks like useFrame and a single createInstance function. The stack mixes DOM and WebGL (HTML inside canvas), runs demos with physics (cannon.js), postprocessing, VR, and even sustains scenes of up to ~1,000,000 moving cubes at 60fps; a small game and a Blender-like web CAD already work.

AI-written summary · about

  1. 0:00Start
  2. 4:03React 3 Renderer
  3. 11:36Responsiveness
  4. 14:29Performance and Mixing 3d with Html
  5. 15:35Performance
  6. 20:25Orbit Controls
  7. 27:11Blender
  8. 29:15What Resources Would You Recommend to Someone Wanting To Learn React Spring
~/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.