I posted on stackoverflow about a strange problem.
App does not render when ReactMeteorData mixin is present
Please advise
I posted on stackoverflow about a strange problem.
App does not render when ReactMeteorData mixin is present
Please advise
That mixin requires a function in addition to render.
Add
getMeteorData() { return {};}
Anything you return in this function is accessible as this.data
Ex: return { users: Meteor.users.find().fetch()}
Now users are accessible from this.data.users.
Remember to always use fetch. Unlike blaze react can’t handle cursors.
Thanks, non-problem solved
Guido