I guess using react now with meteor isn’t the right time since most thing are not complete like the user-accounts and many other stuff that you need to wrap inside each other… right or wrong?
Prove me wrong?
What are some good projects using React-Meteor???
or any good boilerplate project that’s is not wrapping things just to make React work!
I think in 1.3, you can use import to use the user account package, something like
import {Meteor} from ‘meteor’
then use it like Meteor.loginWithPassword(...your code here) in your react component
of course, if you want to use the reactivity of Meteor.user of similar feature, you can use mixin or higher component like mentioned by @SkinnyGeek1010 in here
I think the main thing needed for meteor to be “ready for React” is using NPM modules, because atmosphere packages are severely lacking for React. So my answer is: Yes - with Meteor 1.3
We use React and Blaze in our app running meteor 1.2. And use react components from npm via cosmos:browserify. Excited for 1.3, but this stuff does work today.
There is one package that is supposed to simplify getting Meteor data in react, but I can’t find it again. Anyone know what it is, it looks like this (kinda):
I also have an app using the ReactMeteorData mixin, and it works well, but at this point I would use Mantra architecture instead. I plan to rewrite app to use Mantra very soon.