A verty simple useReducer that supports actions for React.
npm install --save @slergberg/react-hook-use-actions-reducer
This assumes that you’re using npm package manager with a module bundler like Webpack or Browserify to consume CommonJS modules.
Feel free to contribute with this library. For more information, take a look at our contributing guide.