Answer the question
In order to leave comments, you need to log in
How to reduce the size of reactdom?
When "import ReactDOM from "react-dom";" the size of the final js file increases by ~ 400kb+.
In some github repositories I saw final js files ~ 200kb in size. Is it possible somehow to squeeze this whole thing still? (I already get a minified file at the output, but nevertheless its weight is noticeable)
// Apart from one small component, there is no more js code.
Answer the question
In order to leave comments, you need to log in
Apparently, you are not building in production mode.
react-dom minified - 100kb
react minified - 6kb
But storing bundles in a repository is wrong.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question