Skip to content

Instantly share code, notes, and snippets.

@chapel
Last active January 2, 2016 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chapel/8322933 to your computer and use it in GitHub Desktop.
Save chapel/8322933 to your computer and use it in GitHub Desktop.
<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>
var React = require('react');
module.exports = React.createClass({
render: function () {
return (
<div>{this.props.children}</div>
)
}
});
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