amitnovick / xstate-devtools

MIT License
102 stars 11 forks source link

XState devtools breaks apps using window.__REDUX_DEVTOOLS_EXTENSION__ #22

Open jongrim opened 4 years ago

jongrim commented 4 years ago

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.

victortwc commented 4 years ago

Breaks Atlassian Confluence

cellog commented 4 years ago

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

skoshy commented 4 years ago

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

MichalBryxi commented 4 years ago

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.

wesleycoder commented 4 years ago

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

wesleycoder commented 4 years ago

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.

davidkpiano commented 4 years ago

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.

Jaraujo6 commented 2 years ago

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!

davidkpiano commented 2 years ago

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