Vinicius Dacal
Aug 8, 2017 · 1 min read

I confess I worked very little with createClass syntax and I really don’t mind to use class syntax when needed, but I rather to use funcional components with arrow functions, whenever I can.

About the performance, have you tried to extend from PureComponent instead of Component?

It comes with shouldComponentUpdate doing shallow comparison with the props and state. The performance is significantly better.

    Vinicius Dacal

    Written by

    Brazilian Software Engineer, working remotely for BEN Group UK. Loves learning, creating and sharing.