---
title: "Discussion on \"Getting default value from a React Context Consumer in a monorepo Project? How to solve it.\" | Hashnode"
description: "Discussion on \"Getting default value from a React Context Consumer in a monorepo Project? How to solve it.\". For the last two days, I was wondering, why I'm getting the default value from my react Context.Consumer. everything was going well under development mode, yet when I switch to production mode my context stopped responding in parts of my application,..."
url: "https://hashnode.com/posts/getting-default-value-from-a-react-context-consumer-in-a-monorepo-project-how-to-solve-it/5f8183625841661b519d049e"
---

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

Discussion

# [Getting default value from a React Context Consumer in a monorepo Project? How to solve it.](https://sologrammer.hashnode.dev/getting-default-value-from-a-react-context-consumer-in-a-monorepo-project-how-to-solve-it?utm_source=hashnode&utm_medium=feed)

For the last two days, I was wondering, why I'm getting the default value from my react Context.Consumer. everything was going well under development mode, yet when I switch to production mode my context stopped responding in parts of my application,...

Oct 10, 2020 · 6 min read · sologrammer.hashnode.dev  
Read the article

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

## Written by

[Alexi Nasra](https://hashnode.com/@sologrammer)

@sologrammer

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

working on my own

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
