Dark/light mode in React and store preference in local storage
Jun 29, 2022 · 3 min read · Recently I watched a youtube tutorial from Kevin Powell about how to set light/dark mode at the operating system level by using CSS. This tutorial made me wonder "How about toggling light/dark mode in React?" When I have a question, I need to find th...
Join discussion
