Dan Field

Results 553 comments of Dan Field

Yes. Something to render optimize svg would be really cool.

Loading multiple files will always be more costly than loading a single file, especially when you need all the files in memory at once anyway.

This really depends on the source of the SVG you are trying to render. If `currentColor` is not used anywhere in the svg source, setting the current color will have...

There's no `currentColor` in that SVG, which is: ```svg ```

Hmm! There seems to be a different bug here - we should not be using the `currentColor` at all in this case.

The other problem is that `color` in the SVG spec doesn't include alpha, so it will just get ignored here. But Chrome and Firefox support it, so this library probably...

There's other logic that's kind of a mess that separately parses opacity. I'd have to double check again, but I'm pretty sure there are paths that ignore alpha because it's...

I think your error is coming from a different svg. See #605 for fix though.

Is there some reason that you can't just remove the unused tags from your file? It would both reduce the parse time and the bundle size of your application.