---
title: "Discussion on \"Context API with TypeScript and Next.JS\" | Hashnode"
description: "Discussion on \"Context API with TypeScript and Next.JS\". Why do we need context?\nIn a typical React application, data is passed top-down (parent to child) via props. but such usage can be cumbersome for certain types of props (e.g., locale preference, UI theme) that are required by many components within a..."
url: "https://hashnode.com/posts/context-api-with-typescript-and-nextjs/625fac7f6122393b685b8ad6"
---

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

Discussion

# [Context API with TypeScript and Next.JS](https://shareef.hashnode.dev//context-api-with-typescript-and-nextjs?utm_source=hashnode&utm_medium=feed)

Why do we need context? In a typical React application, data is passed top-down (parent to child) via props. but such usage can be cumbersome for certain types of props (e.g., locale preference, UI theme) that are required by many components within a...

Apr 20, 2022 · 3 min read · shareef.hashnode.dev  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#redux](https://hashnode.com/tag/redux)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Nadeem Shareef](https://hashnode.com/@shareef99)

@shareef99 · Hyderabad, India

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

Hello World! This one is shareef. Writer, Programmer, Maths Nerd, and I write articles on the problems I face and how I solve them. #happyCoding

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
