inrupt / solid-react-components

Reusable components for Solid React applications
MIT License
62 stars 12 forks source link

The size of the bundle 4MB #189

Open michaud opened 4 years ago

michaud commented 4 years ago

I tested a build of a minimal generator-solid-react project and found that the solid-react-components currently is a few bytes short of 4MB that will be 1MB gzipped over the line but will still be 4MB of code in the browser memory usage. I saw that in issues #15 and #106 changes were made to reduce the size to 979 KB. I think it's time for a new review.

michaud commented 4 years ago

I've gone through the build and picked some low hanging fruit: