7 Reasons to Outlaw React’s Functional Components
Cory House

If you’re goal is to convert a functional component into a class to extend `PureComponent` or implement a `shouldComponentUpdate`, that should be a red flag to start with. Abstract critical/expensive operations at the reducer/selector to leverage equality/memoization and if you must, put your `PureComponent` at the container level and pass props down to your presentational/functional components (or classes if you prefer) but avoid revalidating equality any further than that.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.