October 21, 2018
If you've worked on a web application, chances are you've used an SVG at some point. SVG stands for Scalable Vector Graphic and can serve any number of purposes, such as for an icon or logo. SVGs are pretty straight forward in normal markup, but how can we approach it in React? In this post I'll go over a couple different ways SVGs can be used with React and the pros and cons of each.