Answer the question
In order to leave comments, you need to log in
Is there a way to show the previous component while the data for the next one is loading?
Is it possible to somehow show the previous component until the data for the next one is loaded?
for example, there is a component A, it has a link to the next one (B), but in component B, there are a number of ajax requests and they take, for example, 3 seconds, in the render method there is a check until the data is loaded, return null through this page roughly speaking empty for the duration of the request, but I want to show the previous component with the loader at the top of the page while the data is being loaded (example like in instagram)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question