Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

1kb is a lot for a simple svg icon.

That said, if you have a single page app already, you can render as many icons as you want, since you’ll only download them once anyway.



But if you want 5 icons, 5K of SVG beats 55K of WOFF.


I wonder how React copes with a whole bunch of inline SVGs. Seems expensive


Copes totally fine and it's trivial to memoise them anyway.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: