This Gist was automatically created by Carbide, a free online programming environment.
Last active
October 5, 2016 15:24
-
-
Save billymoon/251f5a307f35e1c48441bf1aed2d85e3 to your computer and use it in GitHub Desktop.
react-test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default (<h1>Hello matey</h1>) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-family: sans-serif; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment