Sign in
Log inSign up
Which is the best way to create a React component - React.createClass or ES6 plain class.

Which is the best way to create a React component - React.createClass or ES6 plain class.

P Sivakumar's photo
P Sivakumar
·Mar 27, 2016

Hi Everyone , I am new to React. I would like to know which one is a better way of creating React components - React.createClass() or ES6 plain class?

Thanks In advance. :)