N
N
ninape2020-11-09 14:38:06
React
ninape, 2020-11-09 14:38:06

How can I implement updating data at the front with a certain frequency?

How can I implement updating data at the front with a certain frequency? For example, you need to send a request for backing every 2 minutes. Web sockets?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Alexandrovich, 2020-11-09
@ninape

https://learn.javascript.ru/long-polling here is well written about this
and naturally https://learn.javascript.ru/websocket
and for reading https://learn.javascript.ru/server-sent- events

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question