React Component Syntax

In this lesson, we'll study some ways that can make our React component declaration shorter and simpler.

We'll cover the following...

Component syntax evolution

React’s way of defining components has evolved. In its early stages, the React.createClass() method was the default way of creating a React class component. Nowadays, it isn’t used anymore, because, with the rise of JavaScript ES6, the previously used React class component syntax became the default.

However, ...