~/talk

Rethinking Rich Text: A Deep Dive Into the Design of Lexical

Talkat UtahJS Conf 2022 · on Friday, 2022-09-23· [javascript, frontend-architecture]
links:none on file
slides:none on file

A lightweight library that Meta built to replace Draft.js and power many internal editors, Lexical ships a framework-agnostic core and a dependency-free bundle, yields dramatic typing-performance gains and large reductions in crashes and bundle size, and exposes a node-tree model with element/leaf types. It uses transforms that run inside the same update to avoid waterfall updates, batches dirty-node reconciliation, and provides commands/listeners for prioritized, extensible input handling.

AI-written summary · about

  1. 0:00Introduction to Lexical
  2. 1:25What is Lexical
  3. 4:11Why create Lexical
  4. 7:22Design considerations
  5. 8:45Framework agnostic core
  6. 9:47Dependency-free architecture
  7. 10:27Reliability and extensibility
  8. 11:31How Lexical works
  9. 12:57Core concepts overview
  10. 14:00Editor state and nodes
  11. 16:49Node types and behavior
  12. 19:56Element vs leaf nodes
  13. 21:00Updates and state changes
  14. 22:26Batching updates
  15. 23:06Dirty node reconciliation
  16. 24:28Transforms for efficiency
  17. 26:36Real-world transform example
  18. 28:22Listeners and commands
  19. 29:44Team and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.