redux-devtools icon indicating copy to clipboard operation
redux-devtools copied to clipboard

Opening the redux devtools makes the redux store readonly

Open AlaricCalmette opened this issue 1 year ago • 4 comments

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

AlaricCalmette avatar Mar 29 '24 14:03 AlaricCalmette

+1

RomainGuarinoni avatar Mar 29 '24 14:03 RomainGuarinoni

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

markerikson avatar Mar 29 '24 15:03 markerikson

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

RomainGuarinoni avatar Apr 03 '24 08:04 RomainGuarinoni

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

j-machado avatar Aug 27 '24 09:08 j-machado