With React's useEffect hook we can setup a subscription to our Firebase Firestore database and cleanup with a call to unsubscribe. useEffect(() => {
確定! 回上一頁