Edit page

Frequently Asked Questions

Time-saving tip: notice that you can use Deox with almost all Redux middlewares without any problem.

Using redux-thunk with Deox

Redux Thunk middleware allows you to write action creators that return a function instead of an action. The following codesandbox is a working example of using Redux Thunk middleware with Deox.

Using redux-saga with Deox

Redux Saga middleware is a library that aims to make application side effects (i.e. asynchronous things like data fetching and impure things like accessing the browser cache) easier to manage, more efficient to execute, easy to test, and better at handling failures.

Using redux-observable with Deox

Redux Observable middleware is a RxJS middleware for action side effects in Redux using Epics.

Deox exports a RxJS operator named ofType which can filter action observable by action creator, action and action type. The following codesandbox is a working example of using Redux Observable middleware with Deox.