Skip to content

Instantly share code, notes, and snippets.

@dearfrankg
Created March 24, 2017 06:53
Show Gist options
  • Select an option

  • Save dearfrankg/3e5cfb37feb77648583d5183b2a550d9 to your computer and use it in GitHub Desktop.

Select an option

Save dearfrankg/3e5cfb37feb77648583d5183b2a550d9 to your computer and use it in GitHub Desktop.
esnextbin sketch
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>ESNext Bin Sketch</title>
<!-- CSS Reset -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css">
<!-- Milligram CSS minified -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/milligram/1.1.0/milligram.min.css">
<style>
h1 {
text-align: center;
margin-top: 20px;
}
</style>
<!-- put additional styles and scripts here -->
</head>
<body>
<div id="app"></div>
<!-- put markup and other contents here -->
</body>
</html>
// import React from 'react';
// import ReactDOM from 'react-dom';
console.log(55)
// const App = ({ title }) => {
// return (
// <div>
// <h1>{title}</h1>
// </div>
// );
// };
// ReactDOM.render(
// <App title="React Starter App" />,
// document.getElementById('app')
// );
{
"name": "esnextbin-sketch",
"version": "0.0.0",
"dependencies": {
"react": "0.14.7",
"react-dom": "0.14.7"
}
}
"use strict";
// import React from 'react';
// import ReactDOM from 'react-dom';
console.log(55);
// const App = ({ title }) => {
// return (
// <div>
// <h1>{title}</h1>
// </div>
// );
// };
// ReactDOM.render(
// <App title="React Starter App" />,
// document.getElementById('app')
// );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment