return a cleanup function returning form the async function in userEffect in react Native

前端 未结 0 432
野趣味
野趣味 2020-12-12 14:54

I am using a firebase onSnapshot method to use realtime data in react native app and wrote a separate async function to listen to the firestore as given below,



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