How to use the redux-thunk.default.withExtraArgument function in redux-thunk

To help you get started, we’ve selected a few redux-thunk examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github xing / hops / packages / redux / mixin.runtime-common.js View on Github external
getReduxMiddlewares() {
    return [
      ...this.middlewares,
      ReduxThunkMiddleware.withExtraArgument({
        config: this.config,
      }),
    ];
  }

redux-thunk

Thunk middleware for Redux.

MIT
Latest version published 12 months ago

Package Health Score

88 / 100
Full package analysis