3 ms·
cool, that one is about doing that inside html, but I usually do it in external SVG files.
by panstromek 2y ago
cool, that one is about doing that inside html, but I usually do it in external SVG files.
- prutya 2y agoThat makes a lot of sense. If you use some client-side routing (e.g. Next.js), you might be fine, because the page does not reload during navigation. But if you don't, every HTML page will contain all the SVGs increasing the HTML size unnecessarily. P.S. I actually went ahead and changed the implementation to a separate file on my website after I saw your comment :D