Skip to content

Instantly share code, notes, and snippets.

@billymoon
Last active October 5, 2016 15:24
Show Gist options
  • Save billymoon/251f5a307f35e1c48441bf1aed2d85e3 to your computer and use it in GitHub Desktop.
Save billymoon/251f5a307f35e1c48441bf1aed2d85e3 to your computer and use it in GitHub Desktop.
react-test
import $ from 'jquery'
import React from 'react'
import ReactDOM from 'react-dom'
import template from './cell1.js'
console.log(template)
var $app = $('<div id="app">')
$(document.body).html($app[0])
ReactDOM.render(<h1>Hello matey</h1>, $app[0])
export default (<h1>Hello matey</h1>)
body {
font-family: sans-serif;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment