Add SVGR #166
andrecasal
started this conversation in
Ideas
Add SVGR
#166
Replies: 1 comment
-
I've used SVGR before. I have mixed feelings about putting SVGs directly into React components. There are trade-offs, but I feel like a lot of the time it's sub-optimal. I want to balance simple with optimal though, so I need to explore some of the trade-offs. If someone wanted to help, creating a couple different examples of different approaches (or finding an existing analysis) would be very helpful. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
SVGR converts SVGs into React components so we can style them at runtime.
This doesn't work at the moment, but with SVGR it would:
I'd be happy to create a PR for this.
Beta Was this translation helpful? Give feedback.
All reactions