Preact
Fast 3kB alternative to React with the same modern API
Fast 3kB alternative to React with the same modern API. A lightweight Virtual DOM library with React compatibility layer for seamless migration.
36K
GitHub Stars
supported
TypeScript
easy
Learning Curve
4.4
DX Score
Precios
Model
free
Plan Gratuito
MIT licensed, fully open source
Características
- ✓ 3kB bundle size
- ✓ React-compatible API
- ✓ preact/compat alias
- ✓ Virtual DOM
- ✓ Hooks support
- ✓ Automatic batching
- ✓ Standard HTML attributes
- ✓ Server-side rendering
- ✓ Signals for state
Ventajas
- + Tiny bundle size
- + React ecosystem compatible
- + Fast performance
- + Easy migration from React
- + Great for widgets and embeds
Desventajas
- - Not 100% React compatible
- - Smaller ecosystem
- - Some React libs may not work
- - Less community support
Mejor Para
startup indie hacker hobbyist
frontend lightweight react-compatible virtual-dom performance