Open colvint opened 9 years ago
@colvint why can't you use React from NPM in that case?
@burdiyan I do use React from NPM: https://github.com/colvint/meteor-react-bootstrap/blob/master/package.js#L10
And that would be enough to use the library server side. But to use it client side you need to browserify
it.
@burdiyan Just saw that the Meteor Development Group (MDG) has an official react
package which does what you want. Note: it also uses cosmos:browserify
to export React
to the client. I'm probably switching over to that.
Great package! React + Meteor is a sweet combo. Since all concerns are client-side here, I've used cosmos-browserify to create a completely client-side,
require
-based package here. Really cleans up the dependency management.Example use of the package here.