DEV Community


Discussion on: A simple way of adding dark mode to your React app using Hooks and saving it to the local storage

email2vimalraj profile image
Vimalraj Selvam

This is good, however you might have to use the css variables instead of maintaining a child class for each and every style class.

ece profile image
Ece Tunca Author

Great suggestion, I will definitely look into that. Thank you!