Page jump? Dynamic request? Page switch?

after rendering with the data given in the background, when you jump between pages through a link or location, the page will flash to show the original fake data and style, and load the new page in an instant. How to solve this problem

Mar.02,2021

what framework is used in the front end to cause this problem?


add a class to page

  

if you want to have a good experience, you can consider adding a loading,. Of course, if the request returns soon, the fleeting loading will not have a good experience. At this time, you can consider hiding the body first, and displaying it after the request is returned and the rendering is completed.

Menu