M
M
Mdmitr2019-12-04 10:55:59
JavaScript
Mdmitr, 2019-12-04 10:55:59

How to update data from server by condition?

5de7643b93734323646514.png
Good afternoon, there is a server that can respond with a delay of several minutes.
I need that when a new element is added (POST), a GET request to the server is made and, according to the condition of receiving this new GET element, the request stops
. Not the only user will work with the server, so you can’t work with a long array!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IDONTSUDO, 2019-12-04
@IDONTSUDO

else if?
don't you think that this logic should not be on the client

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question