sidewise
sidewise copied to clipboard
Exceptions spam in console when using React Devtools
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.