Open xoka4 opened 1 year ago
Hi, any updates here? Original issue was opened in 2018, so I guess after 6 years there should be a way to do it without workarounds like "export the state, modify the json outside and reimport it back"?
Sorry, the only way to ever update state in Redux is via dispatching an action, which ultimately is handled by the "real" store.
The DevTools enhancer wraps around that actual store instance, and then keeps track of dispatched actions to construct the "current" state at each point in time.
Manually editing the state isn't architecturally feasible.
Is there any way to modify/edit a value in redux-devtools without using a reducer? ( Previously asked here: https://github.com/zalmoxisus/redux-devtools-extension/issues/502 ) Thanks