facebook / react

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

[DevTools Bug]: Unable to edit props #29651

Open alDuncanson opened 4 months ago

alDuncanson commented 4 months ago

Website or app

https://react.dev/

Repro steps

Steps to reproduce

  1. Navigate to the website (i.e. React Dev)
  2. Open React Developer Tools
  3. Select an element in the page to inspect the component
  4. Try to edit the props, they appear to be read-only

Demo

attempt to edit props not working

Kapture 2024-05-29 at 12 59 10

Extension info

image

How often does this bug happen?

Every time

DevTools package (automated)

No response

DevTools version (automated)

No response

Error message (automated)

No response

Error call stack (automated)

No response

Error component stack (automated)

No response

GitHub query string (automated)

No response

ondraveres commented 2 months ago

For me the problem was that my NODE_ENV environmental variable was not set to 'development'