reduxjs / redux-devtools

DevTools for Redux with hot reloading, action replay, and customizable UI
http://youtube.com/watch?v=xsSnOQynTHs
MIT License
14.01k stars 1.16k forks source link

Opening the redux devtools makes the redux store readonly #1644

Open AlaricCalmette opened 6 months ago

AlaricCalmette commented 6 months ago

Since recently, I've noticed that once I open the redux devtools, it will make the store read-only. Which means that any operations that update the store will then fail with an error like "Can not assign to read-only object"

Chrome version: Version 123.0.6312.59 (Official Build) (arm64) devtools version: 3.1.6

RomainGuarinoni commented 6 months ago

+1

markerikson commented 6 months ago

What do you mean by "operations that update the store"?

RomainGuarinoni commented 6 months ago

Like if we open the redux dev tools and then perform something that will trigger an action that will change something in the store, for example update a value, then we will receive an error saying that it cannot update a readonly object.

This error only happen when we have the redux devtool is open

j-machado commented 1 month ago

I can see a spike in these same errors since last Monday, which matches the last release. Right now it seems to happen even with the devtools/console closed.

Chrome version: 128.0.6613.85 Devtools version: 3.2.0