Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
In June of 2015, I started a small short series of sceencasts series with Sitepoint on React.
The series was created on React v0.13. React v0.14 introduced pretty big changes to the way simple projects like this are setup.
Here is the boilerplate, as it should be for React v0.14.
I hope this helps.
Michael (@chantastic)
<!DOCTYPE html>
<meta charset="utf-8" />
<title>React 0.14 Boilerplate</title>
<script src=""></script>
<script src=""></script>
<script src=""></script>
<div id="app"></div>
<script type="text/babel">
var Greeting = React.createClass({
render: function () {
return <h2>Hello React!</h2>;
ReactDOM.render(<Greeting />, document.getElementById("app"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment