Tim Deschryver

Polling with a NgRx Effect

Tim Deschryver

Polling with a NgRx Effect link

Use case link

You want to periodically the refresh data in the NgRx Store.

Solution link

Create a NgRx Effect that retrieves the data via a service every x minutes, this can be done with the RxJS timer operator.

Follow me

You can find me on Twitter, LinkedIn, and GitHub.

Support me

I appreciate it if you would support me if have you enjoyed this post and found it useful, thank you in advance.

Buy Me a Coffee at ko-fi.com PayPal logo
Support the blog Share on Twitter Discuss on Twitter Edit on GitHub