1. 2
    Use React.memo to avoid unnecessary re-renders in React functional components
    1m 35s

Use React.memo to avoid unnecessary re-renders in React functional components

InstructorTomasz Łakomy

Share this video with your friends

Send Tweet

Class components can bail out from rendering when their input props are the same using PureComponent or shouldComponentUpdate. Since React 16.6 you can do the same with function components by wrapping them in React.memo.