Have been struggling with this for really long; with my Meteor+ReactJS app, I want to have a reactive join between the MainCollection and the SubCollection. And the PublishComposite might just be what I need. However, when the SubCollection is updated, this is not reactive!
does anyone know how to make a reactive server-side join with meteor+react?
I’m just wondering how would you solve the missing data issue on ReactNative? We’ve tried it by transforming our collection object with an additional helper that links to the sub collection, f.e. like this:
This works most of the time, but makes problems if the data of the files collection was received after the user_files data (we are also using publishComposite). My only solution would be to change the fileDoc to a function which returns the reactive query and put it into a container like this:
I’ve also to note that adding a lot of containers in react-native-meteor could lead to performance issues, because they don’t use the common Meteor Tracker/Minimongo packages.