Hi. I just started taking over a new React project.
I’m having trouble understanding the use cases between the two libraries for rendering SVG’s.
Usually I see people use the svgr lib as it’s more popular, but this codebase uses react-svg only, which seems to be fetching svgs from its own codebase (after being hashed by webpack) and then injects them inline at runtime.
Would this technically be more optimized bc it’s lazy loaded and cached?
submitted by /u/Trollzore
[link] [comments]