DEV Community

Discussion on: Toggle Dark Mode in React

Collapse
 
abbeyperini profile image
Abbey Perini

Hmm. I chose not to use Redux for this project.

The only time I used local state was to get the toggle to load with the correct side. You could put that in global state, but I don't see an advantage to that - especially since you could probably get that to work with just JS. ๐Ÿค”