Answer the question
In order to leave comments, you need to log in
What will happen to the SPA in this case?
Imagine that there is some kind of SPA built on react + redux. And we have a stupid server. What will happen to the SPA if we send a request and while it "wanders" around the server, we go to another page?
For example, we are on the forum. We requested a list of messages in a topic, and while we were waiting for a response, we managed to switch to another topic and even get a list of messages from it. What happens when that first answer finally comes?
Answer the question
In order to leave comments, you need to log in
Well, depending on how the reducer is made.
In short - it will write the data upon receipt, where you specified.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question