Which is better Ruby or Python?
The pure component is identical to the component, with the exception of handling
the component update method on your behalf.
When they change, a pure component performs a cursory comparison of both the props and the state.
Components won’t automatically compare the present state and props to the future state.
Therefore, whenever a component update triggered, the component will, by default, re-render.