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. :)

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct