1×
Become a member
to unlock all features
Autoplay

    Connect Redux to Individual React Components For More Efficient Rendering

    reactReact
    15 - 16
    reduxRedux
    3 - 4

    A connected component will re-render whenever there is a state change. While we want state changes to update our UI, we don’t necessarily want every state change to render every UI component. In this lesson, we’ll use the connect function to connect components to their own specific pieces of the state tree to make our rendering more efficient.