Convert to classes and implement shouldComponentUpdate to avoid re-rendering elements unnecessarily.
this