PureComponent Re -Rendering
// Note: In order to use PureComponent,
// you must ensure that you never mutate your state or props.
class MyClass extends React.PureComponent {
// ...
}
Salo Hopeless