-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignore HTML Elements in ReduxDevTools #57497
Conversation
Size Change: +12 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd really like to get this merged. Its a real blocker for DevX.
From the PR I don't know where or why we are storing HTML elements in state but this PR does seem to resolve the bug.
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
7c60b0c
to
d3c588b
Compare
Rebasing to get ✅ |
I merged this as the scope is limited to only when redux dev tools extension is active and open so it's relatively limited. The devex problems were pretty bad so I wanted to bring this in. |
If you use ReduxDevTools, you may notice a JS error in the site editor because we're storing a non serializable element in the state. This PR ignores HTML element stored in redux state from being shown in the dev tools. There might be better ways to represent these in the dev tools though.