Multiple React components in a single module
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 single React.createClass with a single module.exports = MyComponent everything works fine. Since I have several shared components I physically host in the same file and reuse across projects, I would like to export more than one component. I have tried an array: module.exports = [Component1, Component2] and have also tried an object with multiple properties: module.exports = {Comp1: Componenet1, Comp2: Component2} and have also