We have a large React Application and use Redux for managing data.
Currently we use es6 syntax and class components, we will use function based components and react hooks.
What is the best way to access the redux store in react child components?
- Use the connect method from react-redux in every child component
- Passing the redux state (in a component which use the redux connect method) an pass the redux state
through props to the child components?