Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Any reason not to browserify this package? #100

Open
colvint opened this issue Aug 20, 2015 · 3 comments
Open

Any reason not to browserify this package? #100

colvint opened this issue Aug 20, 2015 · 3 comments

Comments

@colvint
Copy link

colvint commented Aug 20, 2015

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.

@burdiyan
Copy link

@colvint why can't you use React from NPM in that case?

@colvint
Copy link
Author

colvint commented Aug 30, 2015

@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.

@colvint
Copy link
Author

colvint commented Sep 6, 2015

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants