~/talk

The DOM Wars: React vs d3

TalkinSpanishat Nerdearla 2020 · 2020-10-20..10-24· [react, data-visualization]
links:none on file
slides:none on file

Compares two concrete integration patterns for combining React and d3: either let d3 manipulate the shared DOM (direct SVG manipulation with d3 transitions) which leverages existing d3 examples but hurts React performance and predictable state, or let React own the DOM and use d3 only to compute layouts (hierarchy and radial layout, link generators) with React rendering SVG and handling expand/collapse and animations. Demonstrates a working radial tree built with d3.hierarchy and radial link generators, implemented in a PayPal visualization library using the React-controls-DOM approach.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05How React and d3 work
  3. 2:49DOM handling philosophy
  4. 7:19Shared DOM
  5. 9:27React controls DOM
  6. 12:17Demo with React and d3
  7. 22:44Summary
~/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.