samedi 5 décembre 2020

Angular: What's the best technique to make polling (with REST API) and update the component only when the data has changed?

I know there's a couple of RxJs operators and patterns to achieve this. Since, sometimes the backend does not support Sockets and the only thing you have is a REST API, what is the latest on using timers, distinct until changed and etc.?

Aucun commentaire:

Enregistrer un commentaire