React Helloworld

In this example below you will see how to do a React Helloworld with some HTML / CSS and Javascript

This awesome code was written by enaqx, you can see more from this user in the personal repository.
You can find the original code on
Copyright enaqx ©
  • HTML
  • CSS
  • JavaScript
<!DOCTYPE html>
<html lang="en" >

  <meta charset="UTF-8">
  <title>React Helloworld</title>
      <link rel="stylesheet" href="css/style.css">



  <div id="mount-point"></div>
  <script src=''></script>
<script src=''></script>
<script src=''></script>


    <script  src="js/index.js"></script>



/*Downloaded from */
body { 
  text-align: center;
  padding: 40px; 
  font-weight: bold;
  font-size: 36px;

/*Downloaded from */
var Hello = React.createClass({
    render: function() {
        return React.DOM.div({}, 'Hello ' +;
Hello = React.createFactory(Hello);
  <Hello name="World" />,