Answer the question
In order to leave comments, you need to log in
Why is the page twitching on the first load of the React.lazy page?
Faced with such a nuance. Pages imported via React.lazy. Route wrapped in Suspense. There are tab links on the page. And at the first click on the tab, if it has not been opened before, then as if the application is loaded again. If you go to another tab and back - this is no longer there. Yes, aware of lazy loading. But maybe there is an option how this can be prevented? For the interface jumps, which is not good
Answer the question
In order to leave comments, you need to log in
A similar situation, I switch components and where there are compressed img, they twitch slightly on the first load. Did you find a solution?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question