3 ms·
Preact is 3kb and works as a drop in replacement for React (most of the time). It's also way faster.
by andai 3y ago
Preact is 3kb and works as a drop in replacement for React (most of the time). It's also way faster.
- Octoth0rpe 3y agoSimilar to how the size of react without accounting for react-dom is deceptive, one is also unlikely to use preact without @preact/hooks and/or @preact/signals which increases the size somewhat. Still much, MUCH smaller than react though.
- kreetx 3y agoIs there a reason to use the original react, or will most libraries also work with preact, which is both faster and smaller?