~/talk

Building a poor man's React

Talkat WebCamp Zagreb 2017 · 2017-10-06..10-07· [react, frontend-architecture]
links:none on file
slides:none on file

Implements a minimal React-like library in plain JavaScript (no JSX) that provides createElement, component instances with setState, event props and a simple renderer. Builds an in-memory virtual DOM, compares previous and next trees to reconcile and update only changed subtrees; demo shows per-component counter clicks re-rendering only that subtree. Repository is on GitHub; limitations include missing lifecycle hooks, poor node-deletion handling and a naive reconciliation algorithm — works for the demo but is explicitly not production-ready.

AI-written summary · about

  1. 0:00Start
  2. 2:55Kreso, what is this React you speak of?
  3. 3:29A view abstraction over HTML
  4. 13:45But Kreso.. Don't we have to rerender the whole application on a state change?
  5. 14:32I know! Let's implement custom re-rendering logic for EVERY component!
  6. 15:12Let's make it "smart"
~/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.