Open maxprilutskiy opened 3 years ago
Hi, did you solve your problem? If yes, could you help me?
@prilutskiy I've had indefinite loop/suspending issues as well with v3.0.0-rc.*. They manifested at different times at different places in my app. I managed to get it working, not sure what the root cause is though. Maybe give my workaround a try and see if it solves your issues as well. For more details, see: https://github.com/FirebaseExtended/reactfire/issues/405#issuecomment-884860980.
Hello,
the following code results in an infinite loop when user isn't authenticated aka
user.data
isundefined
. Is this expected?When something random and non-existent is passed to
doc(myId)
, it throwsMissing or insufficient permissions
, whennull
is passed it throwsFunction CollectionReference.doc() cannot be called with an empty path
, however whenundefined
is passed the code goes into an infinite loop and triggers hundreds of requests per second.