1
ライブラリを使用して流星で反応するネイティブアプリを構築していますreact-native-meteor私は、次々と複数の呼び出しを実行する必要があるという問題に遭遇しています。ものではない、私はこれが不可能である、明らかにそれらを呼び出した後準備ができているサブスクライブのコールにしかしMeteor React Nativeの連鎖購読呼び出し
//Get a list of folders from my backend where I know
//a folder called "Mirror" lives
Meteor.subscribe('folders')
//get the id of the folder called "Mirror"
var mirrorFolder = Meteor.collection('folders').findOne({name: 'Mirror'})
//Using the id of the mirror folder I need to get a list of files
//within the mirror folder
Meteor.subscribe('files', mirrorFolder._id)
//Then get a list of all the files
var files = Meteor.collection('files').find()
:サインインを呼び出す - >それはのようになります実際に
を購読 - >サブスクライブ。私はこれを行う簡単な方法がないのですか?
返信ありがとうございました。私はライブラリTrackr(流星トラッカーのフォークです)から 'Trackr.autorun'内の準備変数を使い終えました。助けてくれてありがとう。 – elwesties