Kode Bereaksi Dasar

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

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