xstate-devtools icon indicating copy to clipboard operation
xstate-devtools copied to clipboard

XState devtools breaks apps using window.__REDUX_DEVTOOLS_EXTENSION__

Open jongrim opened this issue 5 years ago • 9 comments

Our app uses the basic store setup as described by the redux devtools. Unfortunately, this configuration conflicts with how the xstate devtools initialize.

At the very least, I think a warning should be added to the README to give users a heads up this can happen so they can switch to one of the other store setups described by redux devtools. If you agree I'd be happy to open a PR for such.

jongrim avatar Mar 13 '20 18:03 jongrim

Breaks Atlassian Confluence

victortwc avatar Mar 24 '20 16:03 victortwc

breaks all of the examples at https://devexpress.github.io/devextreme-reactive/react/grid/docs/guides/getting-started/

cellog avatar Apr 22 '20 13:04 cellog

Breaks all of reddit.com (new layout) as well. JS doesn't load properly, breaking infinite scroll, upvoting/downvoting, etc

skoshy avatar Jun 08 '20 18:06 skoshy

In a hope that this might help some WordPress users: This extension breaks Gutenberg WordPress plugin and it won't allow you to edit any posts or pages, because upon edit it will end with a blank screen and error in console that reads: Uncaught TypeError: window.__REDUX_DEVTOOLS_EXTENSION__ is not a function. This took me horribly long to find.

MichalBryxi avatar Jun 26 '20 17:06 MichalBryxi

I have the same problem as @skoshy, I even reported a ticket to Reddit thinking they broke their site 😅

wesleycoder avatar Jul 21 '20 20:07 wesleycoder

My workaround to avoid the extension blocking my experience on various site is to the extension settings under Site settings and select the On click option, this way I can choose which page I allow the extension to work when I need to debug it.

Maybe we could put this on the readme while this issue is not resolved.

wesleycoder avatar Jul 22 '20 18:07 wesleycoder

Please be aware that these are not the official XState Dev Tools. I'm working on dev tools which should be released by the end of the month, and they will be independent of the Redux DevTools.

davidkpiano avatar Aug 04 '20 11:08 davidkpiano

Please be aware that these are not the official XState Dev Tools. I'm working on dev tools which should be released by the end of the month, and they will be independent of the Redux DevTools.

Hi @davidkpiano! XState is great, thanks for making it! Did you ever get to finish that extension? Would love to try it!

Jaraujo6 avatar Dec 01 '21 23:12 Jaraujo6

Please be aware that these are not the official XState Dev Tools. I'm working on dev tools which should be released by the end of the month, and they will be independent of the Redux DevTools.

Hi @davidkpiano! XState is great, thanks for making it! Did you ever get to finish that extension? Would love to try it!

We're still slowly working on it. For now, the Stately visualizer can be used with @xstate/inspect

davidkpiano avatar Dec 02 '21 12:12 davidkpiano