Why Nostr? What is Njump?
2024-01-25 12:13:02
in reply to

Vadim Makeev on Nostr: npub1wkxfq…ajlrc I try to avoid inlining SVG until I actually need it for styling. ...

I try to avoid inlining SVG until I actually need it for styling. Unfortunately, “inlining to HTML” sometimes means bloating your JS bundle if the markup is client-side generated. But you can have both: external SVG sprite with all icons and inline <use> that’s stylable. See https://pepelsbey.dev/articles/svg-sprites/#external-svg
Author Public Key
npub1w8npfyvlnflxsuaxpcenqthk0zy6twy5v3r4r6qyy5ls6ynafkeq5ett8p