Gajus Kuizinas
1 min readMay 9, 2016

--

This is misleading. It implies that stateless functions are more performant than class components. The problem is that class components support `PureRenderMixin`, i.e. these components will render only when props change. In the mean time, a stateless function will render the entire vdom a new each time it is invoked (https://github.com/facebook/react/issues/5677).

--

--

Gajus Kuizinas

Founder, engineer interested in JavaScript, PostgreSQL and DevOps. Follow me on Twitter for outbursts about startups & engineering. https://twitter.com/kuizinas