• Feed
  • About
  • Donate

How to switch themes by using useContext

April 22, 2020

This post shows with a very simple application in React that switches betweeen dark and light theme by clicking a button.

Topics

  • hooks (1)
  • javascript (2)
  • react (1)
  • rust (1)
  • typescript (1)
Join the newsletter
Go to HomePage
Wilman Arambillete © 2025