react-router-tutorial icon indicating copy to clipboard operation
react-router-tutorial copied to clipboard

lessons 02-rendering-a-route react-create-class-versus-component

Open ganesharulanantham opened this issue 8 years ago • 0 comments

Not an issue. But a clarity. React community suggest the future removal of React.createClass completely in favour of ES6 classes by extend React.Component. Both are same with syntax sugar. Since, these tutorial are starting point for anyone to learn react with react-router it offers clarity. Initially I was confused later clarified what is the difference.

react-create-class-versus-component

ganesharulanantham avatar Feb 08 '17 04:02 ganesharulanantham