How to dispatch from react-hook-form + Redux

I’m using react-hook-form ( I would like to dispatch action from inside of react-hook-form. In following case, I am supposed to dispatch using props.dispatch, when onSubmit is fired. However I could not figure out how to dispatch. import React from ‘react’ import useForm from ‘react-hook-form’ export default function App() { const { register, handleSubmit, watch, […]