meteor-useraccounts / flow-routing

Useraccounts packages add-on for integration with Flow Router and Blaze Layout.
https://atmospherejs.com/useraccounts/flow-routing
MIT License
72 stars 50 forks source link

Use react-mounter on Meteor 1.3+ #47

Open diegonc opened 8 years ago

diegonc commented 8 years ago

If 'require' is available, use it to gather the dependencies needed to mount the React component that wraps our templates, namely 'react' and 'react-mounter'.

This dependencies are not required in 'package.js' because of the warnings in Meteor Guide[1].

In addition, 'kadira:react-layout' and 'react' atmosphere packages are removed to avoid conflicts with NPM packages when 'flow-routing' is used in a Meteor 1.3+ application.

Unfortunately this means that applications written for prior versions of Meteor should now explicitly include them.

Fix #32

[1] https://guide.meteor.com/writing-atmosphere-packages.html#peer-npm-dependencies

hmontes commented 8 years ago

Thank you!!! This works like a charm!!

You saved my life. @splendido Please apply this simple update to your package for React users

vladbalan commented 8 years ago
isAlmogK commented 7 years ago

Is this package still alive