Skip to content

Instantly share code, notes, and snippets.

@bedorlan
bedorlan / index.html
Created October 12, 2018 22:11
React starter
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.4.2/react.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.4.2/react-dom.js"></script>
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
<script type="text/babel">
class MyComponent extends React.Component {
constructor(props) {