React’s DOM diffing allows you to effectively discard your entire UI at any point in time with minimal impact on the DOM. There are, however, cases where the delicate tuning of a component should render a new virtual DOM representation that can help make your application faster. For instance, this is useful if you have a very deeply nested component tree. In this chapter we will cover a simple configuration you can provide to your component to help speed up your application.
When a component is updated, either by receiving new props or
setState being called, React will invoke the
render method on each child component of that component. In most cases this performs without a hitch, but on pages ...