HOC to allow you to use redux without the need of a single root provider
npm install redux-connect-standaloneBefore using this, you need to configure your redux store and export it, just like below.
``js
import { createStore } from 'redux';
import rootReducer 'path/to/rootReducer';
const store = createStore(rootReducer)
export default store;
`
Then, you can create a file named connect, import the store into it and generate you connect function:
`js
import createConnect from 'redux-connect-standalone';
import store from 'path/to/youStore'
export const connect = createConnect(store);
`
Now, you can use this function the same way you would use react-redux's connect function:
`jsx
import { connect } from 'path/to/yourConnect';
import TodoList from './TodoList';
export default connect(mapStateToProps, mapDispatchToProps)(TodoList)
``