facebook / react

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

[DevTools Bug]: Unsupported hook in the react-debug-tools package: Missing method in Dispatcher: origHooks #25874

Open IvanBuljovcic opened 1 year ago

IvanBuljovcic commented 1 year ago

Website or app

https://ny.tess.no/

Repro steps

Error in all components that use any built in React hook. image

Issue is present only when running development build of React.

React version 16.12.0

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

mondaychen commented 1 year ago

If it's only present on development mode, I'm not able to reproduce this issue easily -- the link you out there is a prod website. Is it possible to create a repro on something I can see such as codesandbox?

Aashutosh-kr commented 9 months ago

This issue came when I tried to view the component with the useFormState hook in it. The warning states to update React Devtools, so I removed it and installed it again, but the issue persists. image

alexander-densley commented 9 months ago

+1 getting the same issue

genthegreat commented 6 months ago

Getting the same issue