facebook / react

The library for web and native user interfaces.
https://react.dev
MIT License
227.57k stars 46.42k forks source link

Devtools: Allow editing context #18413

Open eps1lon opened 4 years ago

eps1lon commented 4 years ago

React version: 16.13 and `0.0.0-experimental-aae83a4b9

Steps To Reproduce

  1. Goto https://codesandbox.io/s/xenodochial-field-rfdjz
  2. Try editing value of MessageListContext.Provider

Link to code example: https://codesandbox.io/s/xenodochial-field-rfdjz

The current behavior

Context from createContext can't be edited in the current devtools (provider, consumer, hooks)

The expected behavior

Context value should be editable. I already proposed an implementation for Provider and Consumer.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

eps1lon commented 4 years ago

bump

stale[bot] commented 3 years ago

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

eps1lon commented 3 years ago

Bump