Creating a Theme Switcher App with context API | React | Hooks

Published: 08 November 2021
on channel: Spillcode
315
19

Hello guys, welcome to a new video on using context api with react and hooks.

In this tutorial, I create a simple web app that switches between a light mode theme and a dark mode theme, and I use this to show you a real life usecase of where you could make use of a global context like context api.

If you're researching on how to handle global context in you frontend application with React, context API might be a solid choice for you because you literally do not need to have anything else installed.

Checkout the full source code on github: https://github.com/Chiagozielam/theme...


On this page of the site you can watch the video online Creating a Theme Switcher App with context API | React | Hooks with a duration of hours minute second in good quality, which was uploaded by the user Spillcode 08 November 2021, share the link with friends and acquaintances, this video has already been watched 315 times on youtube and it was liked by 19 viewers. Enjoy your viewing!