1. 14
    Connect Redux to Individual React Components For More Efficient Rendering
    6m 59s

Connect Redux to Individual React Components For More Efficient Rendering

InstructorAndy Van Slaars

Share this video with your friends

Send Tweet

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.

Kevin Pinny
~ 7 years ago

Neat little trick there with console.log!

Koen van
~ 7 years ago

Great series Andrew, loved the console.log trick!

Question about connecting all components to the state tree: Wouldn't using a PureComponent or specifying shouldComponentUpdate accomplish the same thing?

Cristian
~ 6 years ago

I'm loving this course! Is so good!