Adding to point number 6, if you make a functional component with multiple props, every time you re-render the parent you re-render the child, something that could be avoided by using either PureComponent or using ShouldComponentUpdate.

Another scenario is a parent composed by multiple functional component child, if they don't have any way to decide whether or not to render, they will always re-render once the parent re-renders which is a unnecessary thing.


Software Engineer - Head Of Vetting At G2i

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store