ShouldComponentUpdate()

By default, React will bail out and not re-render a subtree if the old and new subtrees are equivalent. Additionally, we can control whether to re-render a Component and its associated subtree with ShouldComponentUpdate() (6.1). A Component will be updated only if its states or props have changed, and that its ShouldComponentUpdate() lifecycle method returns true. Avoiding unnecessary re-renders with ShouldComponentUpdate() enhances performance.