Skip to content
All gists
GitHub
Sign up for a GitHub account
Sign in
Create a gist now
Instantly share code, notes, and snippets.
Star
0
Fork
0
anonymous
/
README.md
Created
Jun 4, 2016
Embed
What would you like to do?
Embed
Embed this gist in your website.
Embed
Share
Copy sharable URL for this gist.
Share
Clone via HTTPS
Clone with Git or checkout with SVN using the repository's web address.
HTTPS
Learn more about clone URLs
Download ZIP
Code
Revisions
1
fresh block
Raw
README.md
Built with
blockbuilder.org
Raw
index.html
<!DOCTYPE html>
<
script
src
=
"
https://jspm.io/system@0.19.js
"
></
script
>
<
script
>
System
.
config
({
transpiler
:
'
babel
'
,
babelOptions
:
{}
});
System
.
import
(
'
./main.js
'
);
</
script
>
Raw
main.js
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
Something went wrong with that request. Please try again.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.