Código básico do React

class HelloMessage extends React.Component {
  render() {
    return (
      <div>
        Hello {this.props.name}
      </div>
    );
  }
}

ReactDOM.render(
  <HelloMessage name="jayden" />,
  document.getElementById('root')
);
Inexpensive Impala