React-Redux connect(): when and how to use it

added by JavaScript Kicks
9/7/2018 7:58:47 AM


Learn how to create container components in React that are connected to the Redux state. React provides two major mechanisms for providing data to components namely: props and state. While props are read-only and allow a parent component to pass attributes to a child component, state is local and encapsulated within the component and can change at any time in the component's lifecycle.