The Redux Dev Tools shows a certain amount of dispatched actions for the time travel feature - is there a way to increase that default amount?
Redux Dev Tools - show more dispatched actions?
Asked Answered
You can use maxAge option:
number (>1) - maximum allowed actions to be stored in the history tree. The oldest actions are removed once
maxAge
is reached. It's critical for performance. Default is50
.
E.g.
window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({ maxAge: 5 });
Switch to the redux dev tools tab. There are always only five action histories.
Or, you can set this option in the redux dev tools browser extension.
The option: Limit the action history to xx items.
© 2022 - 2025 — McMap. All rights reserved.