Building a poor man's React
summary
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
