Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
andai
10 months ago
|
parent
|
context
|
favorite
| on:
Htmx vs. React: A Complete Comparison – Semaphore
Preact is 3kb and works as a drop in replacement for React (most of the time). It's also way faster.
Octoth0rpe
10 months ago
|
next
[–]
Similar 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
10 months ago
|
prev
[–]
Is there a reason to use the original react, or will most libraries also work with preact, which is both faster and smaller?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: