Indeed, the React team mentioned performance boosts for functional components in 2015 for version 0.14. Is that a real argument?? We’re 5 years later with little to no evidence of a significant performance difference.

Testability is also not a real difference. State gets in the way, but you can use state in functional components. But if you don’t use state in either, you’re doing it cleaner either way.

--

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