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

Enable lock button for non-Redux connections.

Open EskiMojo14 opened this issue 9 months ago • 1 comments

Currently the lock button is disabled if the app doesn't think it's talking to a Redux store - which is decided here: https://github.com/reduxjs/redux-devtools/blob/f019024b21e119f6e123bd1f9e2d815d295dfde6/packages/redux-devtools-app/src/reducers/instances.ts#L280

There doesn't seem to be a reason stated for this, and stores other than Redux can certainly implement locking, so I think it would be good to enable this. It's still hidden based on the feature option, which defaults to only being true if it's a Redux store: https://github.com/reduxjs/redux-devtools/blob/f019024b21e119f6e123bd1f9e2d815d295dfde6/packages/redux-devtools-app/src/reducers/instances.ts#L290

EskiMojo14 avatar May 06 '24 14:05 EskiMojo14