I am working on a MERN app that needs to show an svg map of golfcourses. There are many golfcourses and they each have their own svg maps. So I want to store the svg with the rest of the specific golfcourse data in mongodb. Then fetch it in react and import it into my react code. Is this possible? How do I render the svg on react after retrieving it?
I have only ever imported an svg from local storing.
And one other thing is that I need to apply css to the svg for interaction. So I cant do