Skip to main content

useControllerActions

info

useControllerActions - hook to get all actions (action creators are already wrapped with dispatch) from your controller. Provides ability to use controller actions outside of component where controller is subscribed.

import { useControllerActions } from 'redux-saga-controller';

const actions = useControllerActions(controller);