-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
startWaiting with useEffect hook overrides waiters array #13
Comments
@alexeybondarovitch I've got the same problem! For about an hour ago I finally found out the reason, but you've already created the issue. |
I'm not sure if it's the same issue or not, but using I will say that
has and continues to work for us, so it's possible it's a quirk of having an |
Same issue, Please resolve this |
Same issue, a bit disappointed |
Most likely, the function below is causing this issue on api.js.
|
Hi there!
Thank you for this awesome library.
I experienced a kind of weird behavior while working with this library.
Description
if I use method startWaiting in useEffect hook like
Result
waiters array contains only 'second' waiter, so waiters array is overwritten.
the same issue would be in the example below:
component1:
component2:
component3:
in this case, every time I am trying to receive waiters array it will contain only 'second'.
The text was updated successfully, but these errors were encountered: