I have a JSX file like this:
var Home = React.createClass({
render: function() {
return (
<Test>
...
var Test = React.createClass({
render: function() {
...
module.exports = Home;
But I cant manage that both functions load, I guess I have to add Test to module.exports, but I couldn't find a method that worked.