News for hackers. Stuff that matters.
Re:Evergreen: a React UI Framework built by Segment by janimo on Wednesday October 17, 2018 @01:55AM (#18236450)
In a fresh create-react-app project, their getting started example that includes only a button results in a minified js of 570K. Apparently the whole of Blueprint.js is included as a dependency. Shouldn't tree shaking take care of this seamlessly?
Re:Evergreen: a React UI Framework built by Segment by nullbyte on Wednesday October 17, 2018 @02:24AM (#18236581)
Tree shaking isn't automatically supported for CSS. You can use third party tools like PurifyCSS though.
Re:Evergreen: a React UI Framework built by Segment by janimo on Wednesday October 17, 2018 @03:20AM (#18236869)
It's the js bundle that is large.