Dear people who are actually good at React: if I want to poll an endpoint until ...

@sarajw@front-end.social

Dear people who are actually good at React:

if I want to poll an endpoint until one of the returned properties has a "finished" value, is something like this the best way, or are there elegant, neater ways (without installing a new dependency, please):

dev.to/tangoindiamango/polling ?

Thanks in advance!

#react #frontend