Skip to content

Instantly share code, notes, and snippets.

@slaith
Last active September 25, 2016 10:09
Show Gist options
  • Save slaith/6cc2696936029fdcf2d2e65dadf0aee2 to your computer and use it in GitHub Desktop.
Save slaith/6cc2696936029fdcf2d2e65dadf0aee2 to your computer and use it in GitHub Desktop.
Template Code
var Counter=React.createClass({
render:function(){
return (<div></div>)
}
})
<html>
<head><title>REact Workshop: Counter</title></head>
<body>
<div id="app"></div>
<script src ="../lib/react.js"></script>
<script src ="../lib/react-dom.min.js"></script>
<script src ="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.14.0/babel.min.js"></script>
<script src ="app.jsx" type="text/babel"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment