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

Exceptions spam in console when using React Devtools #75

Open
Hamled opened this issue Nov 21, 2018 · 0 comments
Open

Exceptions spam in console when using React Devtools #75

Hamled opened this issue Nov 21, 2018 · 0 comments

Comments

@Hamled
Copy link

Hamled commented Nov 21, 2018

It appears that there is an unfortunate interaction between the Sidewise extension and the React Developer Tools extension.

React Devtools is written to post messages to the window object (see here), which it can do sometimes at a rate of several per second.

At the same time, Sidewise has an event handler for the message event from window, named receivePageEvent. This handler throws an exception whenever it receives an event whose payload doesn't have a name property.

Since none of the React Devtools-originated events include that property, my console is spammed with hundreds of exceptions from Sidewise whenever I'm using 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