Skip to content
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

Do startPolling and stopPolling accept custom implementation as well? #33

Closed
anumit02kaur opened this issue Aug 31, 2021 · 2 comments
Closed

Comments

@anumit02kaur
Copy link

I'm not a 100% sure on the usage of startPolling and stopPolling. When will I need this? Can you pls provide an example for the same?

@vivek12345
Copy link
Owner

Hey @anumit02kaur thank you for your question.
Here is a sample codesandbox where I am using start and stop polling
https://codesandbox.io/s/react-polling-basic-usage-zie3j?file=/src/App.js

Let me know if you need more clarity on this

@anumit02kaur
Copy link
Author

Got it, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants