Open
Description
opened on Sep 5, 2024
Description
Do we still support Redux Devtools? Either way, Redux Devtools remains a popular browser extension many React developers install. Enabling the extension in Gutenberg sometimes outputs errors in the console even when the user is not directly interacting with the extension.
Uncaught TypeError: t.toString is not a function
at ae.stringifyFunction (page.bundle.js:1:1448)
at s (page.bundle.js:1:2855)
at s (page.bundle.js:1:4383)
at s (page.bundle.js:1:4383)
at s (page.bundle.js:1:4383)
at s (page.bundle.js:1:4383)
at s (page.bundle.js:1:4383)
at s (page.bundle.js:1:4383)
at s (page.bundle.js:1:4383)
at s (page.bundle.js:1:4383)
What's worse is that it's not clear in the console that it's caused from Redux Devtools.
It's especially confusing for new contributors, who would probably just avoid contributing if they thought that their environment was not supported.
Step-by-step reproduction instructions
- Install Redux Devtools in your browser and enable it.
- Open the devtools and interact with gutenberg (try selecting an image block for instance), sometimes the Redux Devtools tab doesn't even need to be active.
- See some random errors in the console.
Screenshots, screen recording, code snippet
Environment info
- Tested on Brave (or other chromium based browsers) and the latest Redux Devtools from the extension store.
Please confirm that you have searched existing issues in the repo.
- Yes
I found an old issue but proved that we used to support Redux Devtools.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Activity