-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use Minimongo, Please share any reference? #5
Comments
Getting Error as, Minimongo.LocalCollection is not a constructor, Trying with var User = new Minimongo.LocalCollection("data") |
Try |
Hi @jamesgibson14 , Does this package provide reactivity? I have tried it but its only adds in local collection only, whenever I want to retrieve the data using the helper function, getting a blank array. |
Yes it does, in your helper just do something like: getUser( userId ){
return User.findOne({_id: userId})
} |
Attaching the code, please have a look
Dispatching event from the client side, but helper function returns only 1 document. Also, I am using it with webpack |
Changed to |
Thank you @jamesgibson14 for your effort <3 |
No problem, I am glad @technicalbirdVayuz figured it out. |
No description provided.
The text was updated successfully, but these errors were encountered: