---
title: "Discussion on \"React Context API With TypeScript: Build a Theme Switcher\" | Hashnode"
description: "Discussion on \"React Context API With TypeScript: Build a Theme Switcher\". Introduction\nThe code for our project can be found here\nThis will be a simple demonstration of how the context API works but,  before then let's define a key concept; Prop Drilling\nProp Drilling: I will try to simplify this as easy as possible, say y..."
url: "https://hashnode.com/posts/react-context-api-with-typescript-build-a-theme-switcher/61a7a251be456923c52bbe1c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [React Context API With TypeScript: Build a Theme Switcher](https://godis-agu.hashnode.dev/react-context-api-with-typescript-build-a-theme-switcher?utm_source=hashnode&utm_medium=feed)

Introduction The code for our project can be found here This will be a simple demonstration of how the context API works but, before then let's define a key concept; Prop Drilling Prop Drilling: I will try to simplify this as easy as possible, say y...

Dec 1, 2021 · 3 min read · godis-agu.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#reacthooks](https://hashnode.com/tag/reacthooks)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#create-react-app](https://hashnode.com/tag/create-react-app)

## Written by

[Chijioke Agu](https://hashnode.com/@dev_cjay)

@dev\_cjay · Lagos/Abuja, Nigeria

  
[View profile](https://hashnode.com/@dev_cjay)

Software Developer

I am a developer from Nigeria. I focus on developing solutions through software using JavaScript and it's technology. I work primarily with the M(P)ERN stack.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
