Description
Website or app
https://github.com/a-gehlot/react-error
Repro steps
-
Install webpack, react, babel with "npm install" in terminal.
-
Bundle app with webpack via "webpack --watch --mode=developement" in terminal.
-
Open up "index.html" in Chrome and open React DevTools. Under Components, there should be a Dog component within a Person component, where the Person is passed as a prop to the Dog.
-
Under Dog props, there should be a person object with a value of present being true. If you click the button, the value of present should change to false, the number should switch to 0, and the checkbox should get deselected. However, if you manually select the checkbox to change between true/false, the prop seems to lose its prototype references to the original JS class, as an error stating it cannot find the function will be shown.
Screen.Recording.2022-06-23.at.1.28.54.PM.mov
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