Firestore: calling collections.get() inside promise()

前端 未结 0 1742
执笔经年
执笔经年 2020-12-14 06:19
useEffect(() => {
if (!stop) {
  // get current user profile
  db.collection(\'events\').get(eventId).then((doc) => {
    doc.forEach((doc) => {
      if (d         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题