Answer the question
In order to leave comments, you need to log in
Why does a React app freeze (lose connection to api) after a while?
Good afternoon. I have a Django + React app. React uses the Django Rest Framework as its API. Noticed this problem. After a long downtime, React seems to lose touch with janga. that is, I click on the button - to update the selection, but I do not receive the results of the selection. If you press the refresh button in the browser, then everything becomes OK.
I took this example as the basis of my application https://github.com/viewflow/cookbook/tree/master/_...
Answer the question
In order to leave comments, you need to log in
I can assume that the life cycle of the component is over. More precisely, you interacted with him, and then he went into a "sleep".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question