7

I just started using a new React component library

https://ant.design

apparently they decided that rather than include all the icons as a separate font file, or dynamically loaded SVG, they would encode every single icon as a SVG in a JS string, and concatenate them all together into a single file.

I feel dirty but I just committed a 2MB javascript payload to the staging server.

Suggestions for a LIGHTWEIGHT React/Typescript component library?

Comments
  • 4
    Unfortunately lightweight and web just go together anymore, the only lightweight option is writing it yourself because the web is a race for features, not performance
Add Comment