Package Exports
- sunny-react
Readme
🌞 SunnyReact
A tiny React-like library built from scratch for learning purposes.
Implements a simplified Fiber architecture, virtual DOM diffing, and custom SunnyRules (state + lifecycle).
⚠️ Not production ready. Made for fun and understanding React internals.
✨ Features
- ⚡ Fiber engine: Splitter, Differentiator, FinalToucher
- 🔥 State management with
UIUpdaterState - 🌞 Lifecycle hooks:
runOnlyOncerunOnEachRenderrunOnStateChange
- JSX support with custom pragma (
drawPiece)
🚀 Install
npm install sunny-react