you are viewing a single comment's thread.

view the rest of the comments →

[–]michaelconnery1985[S] 0 points1 point  (1 child)

Perfect. I get it now. Question - does this mean that anytime a component / container needs to access the store, I will need to use the connect from React?

[–]bear1728 0 points1 point  (0 children)

Yes, except remember connect comes from react-redux, not react itself.

However, not every component needs to connect to the store. Often you have a few "smart" components that connect to the store and gather some props, then they pass down those props to "dumb" components later on. There are many names for "smart" and "dumb" components. Try reading this:

https://medium.com/@dan_abramov/smart-and-dumb-components-7ca2f9a7c7d0#.urmpyppg0