krasimir / kuker

Kick-ass browser extension to debug your apps
https://chrome.google.com/webstore/detail/glgnienmpgmfpkigngkmieconbnkmlcn
MIT License
657 stars 26 forks source link

Breaks codesandbox.io #25

Open forivall opened 3 years ago

forivall commented 3 years ago

Any react code running on codesandbox.io will result in the page throwing up with the following:

TypeError
Cannot read property 'forEach' of undefined

Object.injectIntoGlobalHook
https://y2mx3.csb.app/node_modules/react-refresh/cjs/react-refresh-runtime.development.js:461:20

evaluate
https://y2mx3.csb.app/node_modules/__csb/react-dom-entrypoint.js:3:9

H
https://codesandbox.io/static/js/sandbox.ca04802af.js:1:99575

G.evaluate
https://codesandbox.io/static/js/sandbox.ca04802af.js:1:111943

(anonymous function)
https://codesandbox.io/static/js/sandbox.ca04802af.js:1:214309

This screen is visible only in development. It will not appear if the app crashes in production.
Open your browser’s developer console to further inspect this error.
This error overlay is powered by `react-error-overlay` used in `create-react-app`.

seems to relate to their react-refresh integration, added here https://github.com/codesandbox/codesandbox-client/pull/3014