Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's also preact + preact-compat which provides a compatibility shim... Works as pretty much a drop-in replacement for React for your prod builds.

However, that "extra" isn't all just junk, it's a LOT of REALLY nice error reporting that I've not seen in ANY other framework. Dealing with errors in React applications is far, far, far easier than some other frameworks have been (ahem, ng1/ng2).



But that is stripped out in production builds, so is not contributing to the size everyone is talking about.


Not all of it... there are still extras that come in the production builds of react compared to other frameworks... I'm not talking about the property checking, etc.


What do they leave in?




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: