---
title: "Yury (@lol) | Hashnode"
description: "Yury (@lol) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@lol"
---

@lol

# Yury

@lol · Joined January 2021

## Comments

[cool](https://hashnode.com/posts/first-beta-of-my-indie-game-dungeon-sweeper-a-knights-adventure/64484982c00db242ab93ca3e/comment/6660762e46c5d0b45077f7b8)

Comment · Article · Jun 5, 2024 · [First Beta of My Indie Game Dungeon Sweeper: A Knights Adventure](https://hashnode.com/posts/first-beta-of-my-indie-game-dungeon-sweeper-a-knights-adventure/64484982c00db242ab93ca3e)

[Emin Aydin Okay sorry, let me clarify. I was just going off of your example, where you only changed the color. This is what most devs (like 99%) will probably do for which you can simply use svg css styling, that is why you would want to treat it like a reusable icon However.... if you indeed want to animate custom svg properties for your logo, I would suggest you use an appropriate library because animating svg props manually without abstractions (like relative positioning and data attributes) is not for beginners ;) hope this helps! :)](https://hashnode.com/posts/how-to-use-svgs-in-react/600d89133fdbb7412625f9c6/comment/6016d77313f0a55761bdf233#reply-6017a0dba4a28d1fcefce35d)

Reply · Article · Feb 1, 2021 · [How to use SVG's in React](https://hashnode.com/posts/how-to-use-svgs-in-react/600d89133fdbb7412625f9c6)

[( u can still use react memoization to skip rendering the react rendered svg, but don't do that lol )](https://hashnode.com/posts/how-to-use-svgs-in-react/600d89133fdbb7412625f9c6/comment/6016d77313f0a55761bdf233#reply-6016d8d213f0a55761bdf248)

Reply · Article · Jan 31, 2021 · [How to use SVG's in React](https://hashnode.com/posts/how-to-use-svgs-in-react/600d89133fdbb7412625f9c6)

[Probably not worth my time to write this but i wanted to try out the editor (and it's buggy lol) Basically, don't ever do this unless you are actually using dynamic svg in your project. Your code is not reusable and also I think this probably adds more unnecessary computation because react has to diff the dom tree and your complex svg logo data props are now part of that dom tree. 99.9% of the time, you are better off just dropping the svg icon file that you downloaded from the webz into some folder and using a webpack SVG loader. Then, you can simply pass in a custom css fill style property to the icon component to change its color or w/e. Install webpack svg loader npm install @svgr/webpack Update your webpack config { test: /\\.svg$/, use: \['@svgr/webpack'\] }, Import icons and render them import i\_react from './icons/react-icon.svg' .... <i\_react style={fill:"red"}/> that's literally all you have to do.](https://hashnode.com/posts/how-to-use-svgs-in-react/600d89133fdbb7412625f9c6/comment/6016d77313f0a55761bdf233)

Comment · Article · Jan 31, 2021 · [How to use SVG's in React](https://hashnode.com/posts/how-to-use-svgs-in-react/600d89133fdbb7412625f9c6)
