react-html-parser icon indicating copy to clipboard operation
react-html-parser copied to clipboard

Warning: dependency / bundle size issues

Open yougotashovel opened this issue 7 years ago • 0 comments

I found using this package that it was increasing my bundle sizes dramatically.

Appears to be adding 182kb to bundle sizes, which is disproportionate for what this lib does.

size-increase

Here's an example of bundle sizes and included dependencies before and after a blank create-react-app included 'react-html-parser'

before after

Anyone looking for solution: I'm using 'html-react-parser' instead of 'react-html-parser' library to decrease bundle size now. Does the same without all the overhead.

yougotashovel avatar Feb 13 '18 21:02 yougotashovel