Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: fn is not a function #13

Open
scottdhicks opened this issue Sep 28, 2022 · 0 comments
Open

Uncaught TypeError: fn is not a function #13

scottdhicks opened this issue Sep 28, 2022 · 0 comments

Comments

@scottdhicks
Copy link

@fvilers

attempted to contribute but got a 403 (first time ever trying to contribute to open source so i'm a newb). if someone has bandwidth, can

if (prop === 'rendererInterfaces') {
    // prevents TypeError: fn is not a function onAgentShutdown
    window.__REACT_DEVTOOLS_GLOBAL_HOOK__[prop] = new Map();
    continue;
}

be added to index.js? https://github.com/facebook/react/blob/e26cb8f86db0936e14682c39e2d26373fa6f433d/packages/react-devtools-shared/src/backend/index.js#L110 is the problematic line in react-devtools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant