Firestore / React is unsubscribe necessary in componentWillUnmount

前端 未结 1 677
孤独总比滥情好
孤独总比滥情好 2021-01-22 18:18

I have a component that is at a particular route:

 

In this component all of my fir

相关标签:
1条回答
  • 2021-01-22 18:31

    The Firestore SDK has no implicit knowledge about ReactJS and/or its lifecycle events.

    You'll need to unsubscribe in your own code. It is not done automatically.

    0 讨论(0)
提交回复
热议问题