Hacker News new | ask | show | jobs
by davidhyde 2620 days ago
> “30 kilobytes for React” This is just not even close to being true.
2 comments

The compressed size is 31 kb, and other frameworks are smaller.

https://gist.github.com/Restuta/cda69e50a853aa64912d

There's 3kb Preact with almost identical API.
So what's the other 27KB+ for?
Fiber, support fo async rendering, suspense, hooks. A different VDOM algorithm.
Better error handling and messaging...