I am new to the whole browserify thing. I have been trying to use browserify + reactify + gulp to transform, minify and combine a React application. As long as I have a sing
I use function to return component.
module.exports = { comp1: function(){ return Component1; } }
Then
var myCompontents = require('./components'); var comp1 = myComponents.comp1();