access redux state outside component code example Example: connect to redux store outside component import store from './MyStore' store.dispatch(...)