DEV Community

Discussion on: Evaluate and find the cost of adding a npm package with Bundlephobia and Moiva

Collapse
 
valeriavg profile image
Valeria

Nice tools, thank you.

By the way, don't let React fool you, you'd need react-dom as well if you are to use it and it's gigantic:
react-dom with ~40kb gzipped adds 1.3s load

Collapse
 
okikio profile image
Okiki Ojo

All together both react and react-dom are pretty large,
https://bundle.js.org/?q=react,react-dom&bundle

Image of the react & react-dom bundle