title: Updating a layer inside SVG file with React
body: <p>I have a very big SVG file which is near 10k lines and I want to update some of its layers fill color via useEffect or a similar method. However I don't want to import whole file in a component and re-render every time I need to change a color.</p>
  
  <p>Is there a way to update svg elements through React? I guess there are hacky ways to achieve this but I want to know what is the encouraged way to do this.</p>