Skip to content


frequently asked question.

Migrating to Reapex

Reapex is a simple wrap of redux and redux-saga, if you have existing application written with redux and redux-saga, it is trivia to introduce Reapex into your application.

With simple configuration, you can start to use Reapex without rewriting a single line of code.

Step 1: migrating redux middlewares

Reapex has redux-saga middleware enabled internally and has redux-devtools-extension enabled when process.env.NODE_ENV === 'development' (you will need to install redux-devtools-extension). To add more middlewares:

const app = new App({
  middlewares: [middleware1, middleware2]

Step 2: migrating reducers

Use app.setExternalReducers() to add existing reducer map. Reducer map is the object that passed to combineReducers

app.setExternalReducers(reducers: Record<string, Reducer>)

Step 3: migrating saga

rootSaga is the saga that's passed to


After doing the above steps, you should be able to remove redux configureStore and Reapex will take care of the rest.

We Need Your Support

If you find Reapex makes DX better, please give it a star ❤