Undo/ Redo
See original GitHub issueHey, I was wondering if you guys have a recommended way for implementing undo/redo in RTK. redux-undo
is incompatible and it looks like we can’t use immer
patches because createReducer doesn’t use the produce
function.
Issue Analytics
- State:
- Created 4 years ago
- Comments:17 (4 by maintainers)
Top Results From Across the Web
Undo, redo, or repeat an action - Microsoft Support
You can undo, redo, or repeat many actions in Microsoft Word, PowerPoint, and Excel ... If you can't undo an action, the Undo...
Read more >How to Undo & Redo in Word - CustomGuide
Redo is the opposite of undo: it redoes an action you have undone. For example, if you decide that you do, after all,...
Read more >Undo or redo changes in Pages on Mac - Apple Support
You can undo recent changes you make to a document, then redo them if you change your mind. Do any of the following:...
Read more >UNDO REDO - YouTube
Provided to YouTube by Monkeytown Records UNDO REDO · Moderat · Sebastian Szary · Gernot Bronsert · Sascha Ring · Sascha Ri …...
Read more >Undo and Redo | Vim Tips Wiki - Fandom
To undo recent changes, from normal mode use the undo command: u: undo last change (can be repeated to undo preceding commands) Ctrl-r:...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@zoubingwu : I think that’s a semi-known issue with RTK and TS somehow. Try moving the
undoable
call out to be a separate line of code, likeconst finalCounterReducer = undoable(counterReducer)
.@satheshrgs I added redux-undo to the official RTK TS template as a quick example - https://codesandbox.io/s/rtk-redux-undo-example-titr4. Hopefully, that helps you out. If you need any further assistance, try #redux on the Reactiflux Discord as there are many users that actively monitor that channel.