Redux with React - right way to share the store with components
问题 The store service from Redux is what ultimately utilized by various components in a React App. The methods (such as dispatch, getState and subscribe) exposed by it are used by all kinds components (like container or presentational). I think the approach to pass this store service around is an important design decision. I see two approaches and they are: 1) By passing the store as a prop to every component at all nested levels. This is not the recommended one. 2) Use a tool like react-redux,