You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It may or may not be obvious, but in order to have a useEffect "see" an observable, it needs to be called inside the useEffect function, e.g.
useEffect(()=>{const{ isSignedIn }=useGoogleOAuthSignedInStatus()if(!isSignedIn){console.log('User Is Not Signed In... waiting...')return}console.log('User is signed in... creating events and hangout link...')})
This should be formally documented with an example.
The text was updated successfully, but these errors were encountered:
I wonder if we should have an additional function to call in useEffect that "watches" an observable for changes... Need a better example to showcase this 🤔
Summary
It may or may not be obvious, but in order to have a
useEffect
"see" an observable, it needs to be called inside the useEffect function, e.g.This should be formally documented with an example.
The text was updated successfully, but these errors were encountered: