Webpack, why the number of reagents increased by about 150 kb?

we are working on a webpack project, response, redux, .... Trying to minimize the final file as much as possible, we found that it react-domincreases the file size by about 150 kb.

We did some tests creating a dummy application that only includes react, and the final minimized + optimized size is about 20 KB (something reasonable considering the minimized version of the reaction. Then, if we also enable it react-dom, the final packet size is about 170kb.

Is react-domit really how big? Does anyone have experience sharing.

Thanks in advance.

+4
source share

Source: https://habr.com/ru/post/1654143/


All Articles