Closed rod-glover closed 6 years ago
PureComponent prevents unnecessary re-renders. Note caveat re. shallow comparision of props and state; we don't mutate state objects so this always works.
PureComponent prevents unnecessary re-renders. Note caveat re. shallow comparision of props and state; we don't mutate state objects so this always works.