ReactJS - Hello World

In this example below you will see how to do a ReactJS - Hello World with some HTML / CSS and Javascript

ReactJS - Hello World

Thumbnail
This awesome code was written by cythilya, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright cythilya ©

Technologies

  • HTML
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>ReactJS - Hello World</title>
  
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">

  
  
    <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>

</head>

<body>

  <div id="example"></div>
<script type="text/jsx">
/** @jsx React.DOM */
React.renderComponent(
	<h1>Hello, world!</h1>,
	document.getElementById('example')
);
</script>
  <script src='https://cdnjs.cloudflare.com/ajax/libs/react/0.12.1/react.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/react/0.12.1/JSXTransformer.js'></script>

  

</body>

</html>

Comments