-
Notifications
You must be signed in to change notification settings - Fork 398
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
Allow a callback to be passed for the cancelCallback argument to firebaseRef.on() #24
Conversation
…baseRef.on() Not sure how to add a test to your suite for this, but have checked it at least works locally in react-hn against the Hacker News API, which errors when attempting to load delayed comments
Display a notificatiom to the user Vendoring a version of Reactfire which allows you to pass a cancelCallback until FirebaseExtended/reactfire#24 is merged or similar functionality is added
Hey @insin - I apologize for not responding to your issue or this pull request for such a long time. I'll try to be more responsive in the future. Thanks for this PR! I really like this addition and want to add it to the library. I have one requests before merging this in though. The test suite is failing in Travis because of the change you made. Can you please update these lines to include a dummy callback function ( Thanks! I'm looking forward to getting this merged in! |
Allow a callback to be passed for the cancelCallback argument to firebaseRef.on()
Thanks again for the PR @insin! We'll release a new version of ReactFire later this week with this change included. We may want to get a few of the other open PRs in as well. |
Display a notificatiom to the user Vendoring a version of Reactfire which allows you to pass a cancelCallback until FirebaseExtended/reactfire#24 is merged or similar functionality is added
Display a notificatiom to the user Vendoring a version of Reactfire which allows you to pass a cancelCallback until FirebaseExtended/reactfire#24 is merged or similar functionality is added
Display a notificatiom to the user Vendoring a version of Reactfire which allows you to pass a cancelCallback until FirebaseExtended/reactfire#24 is merged or similar functionality is added
Adds API suggested in #19
Not sure how to add a test to your suite for this, but have checked it at least works locally in react-hn against the Hacker News API, which errors when attempting to load delayed comments