The function dispatchis a member of your store abbreviation . If you created and exported your store in a module, it would be easier to import the store into your module and call the function dispatch.
Example:
import { createStore } from 'redux'
export default createStore(reducers)
import store from './store'
store.dispatch(someAction)
source
share