ReSwift/ReSwift-Thunk

how can i redo or undo a async action

BigBagFind opened this issue · 0 comments

Hello, I tried ReSwift-Thunk to do async action, and my reducer is undoable. How to use both libraries at the same time

Below is my code

let mainStore = Store(
reducer: undoable(reducer: mainReduer, filter: nil),
state: nil,
middleware: [createThunkMiddleware()]
)