~/talk

An intro to DraftJS, and its immutable data model

Talkat ReactFoo 2017 · on Thursday, 2017-09-14· [react]

Explains that DraftJS plus ImmutableJS gives an immutable data model representing editor state, selection, blocks, entities and decorators and shows the actual APIs used (EditorState, ContentState, entities, decorators, convertToRaw/convertFromRaw). Demonstrates structural sharing for cheap undo/redo, normalizes contentEditable across browsers, shares a Learn DraftJS tutorial and reports a practical perf datapoint: processing 50,000 characters takes ~600–700ms. Shows how edits are applied and how HTML import/export is handled.

AI-written summary · about

  1. 0:00Start
  2. 3:39STRUCTURED CONTENT EDITING
  3. 6:14CONTENT-EDITABLE
  4. 6:35Why ContentEditable is Terrible
  5. 9:26How the Medium Editor Works
  6. 9:41PROSE MIRROR
  7. 10:09Open Source
  8. 30:26QUESTIONS?
~/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.