Skip to main content

useController

info

useController - hook to initialize you controller.

IMPORTANT useController can be subscribed not more than ones in the same time.

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

const [state, actions, isControllerConnected] = useController(controller);