Is it possible to modify the undo, redo stack

Tags: #<Tag:0x00007f3443f5bb70>

I use handsontable with react wrapper, and i have a function that change row data by setState of react . Is there any way to modify the undo and redo stack, so i can use the redo function after change data by my custom function ?

Hi @khanhktong

Can you show your implementation?

May I send you a demo -
And you based on it extend to better reflect your needs and your issue.

@ piotr.nowak
thanks for your reply, and i made a demo based on your:

If you use state you have to keep all changes what you interest in your state.

For example, in this demo with Redux - - you could change a value and next use ctl + z which works as expected, i.e. undo to the previous changes.