useMiddlewareReducer
An efficient react hook to benefit from the huge middleware ecosystem of Redux.
With this hook, you can use any Redux middleware inside one of your React component, without using Redux itself!
This package exports a Typescript type defintion.
Installation
npm install use-middleware-reducer
or
yarn add use-middleware-reducer
How to use
See it in action
Code Sandbox demo: https://codesandbox.io/s/usemiddlewarereducer-example-otz3j