Built with blockbuilder.org
Created
June 4, 2016 23:29
-
-
Save anonymous/400158927a82cfbf01e6233bb7398591 to your computer and use it in GitHub Desktop.
fresh block
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
<!DOCTYPE html> | |
<script src="https://jspm.io/system@0.19.js"></script> | |
<script> | |
System.config({ | |
transpiler: 'babel', | |
babelOptions: {} | |
}); | |
System.import('./main.js'); | |
</script> |
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 React from 'react'; | |
import ReactDOM from 'react-dom'; | |
const Hello = ({name}) => <h1>Hello {name}!</h1>; | |
ReactDOM.render( | |
<Hello name={"dude"}/>, | |
document.body.appendChild(document.createElement("div")) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment