omnidan / redux-undo

:recycle: higher order reducer to add undo/redo functionality to redux state containers
MIT License
2.91k stars 188 forks source link

Pr/add clear future history action #299

Open arnaudpfu opened 1 year ago

arnaudpfu commented 1 year ago

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

New feature - Add a clearFutureHistory action to clear the future history only.

What is the current behavior? (You can also link to an open issue here)

We can't clear future history only.

What is the new behavior?

Now it is possible.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

No