Re:Transform SVG into React components
by josteink on Monday October 30, 2017 @07:36AM
(#15584274)
> Easy with inline SVG and CSS rule. Can't really do that (well) with external .svg.
I can see that easily solved much better, cleanly and not to mention lightweight with some CSS rather simple pre-processors in the build process.
Or is your argument that you already have a (React-based) build-process and you'd want to align this with what you have, rather than creating something new and different along-side everything else (despite the result being suboptimal)?
I can see that easily solved much better, cleanly and not to mention lightweight with some CSS rather simple pre-processors in the build process.
Or is your argument that you already have a (React-based) build-process and you'd want to align this with what you have, rather than creating something new and different along-side everything else (despite the result being suboptimal)?