Last active
January 2, 2016 15:19
-
-
Save chapel/8322933 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<html data-reactid=".r[5sfzg]" data-react-checksum="1010059815"><head data-reactid=".r[5sfzg].[0]"></head><body data-reactid=".r[5sfzg].[1]"><div data-reactid=".r[5sfzg].[1].[0]">context</div><div data-reactid=".r[5sfzg].[1].[1]">baz</div></body></html> |
This file contains hidden or 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
var React = require('react'); | |
module.exports = React.createClass({ | |
render: function () { | |
return ( | |
<div>{this.props.children}</div> | |
) | |
} | |
}); |
This file contains hidden or 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
var React = require('react'); | |
var Foo = require('./foo'); | |
module.exports = React.createClass({ | |
render: function () { | |
return ( | |
<html> | |
<head> | |
</head> | |
<body> | |
<div>{this.props.test}</div> | |
<Foo>baz</Foo> | |
</body> | |
</html> | |
) | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment