anisharaz / resourcesite

The app to have all your reading material at single place
https://notes.aaraz.me
0 stars 2 forks source link

Use loading in every route and page #29

Closed anisharaz closed 4 months ago

anisharaz commented 4 months ago

Locally, it is fast and does not show any impact , but when deployed, it is some 600–700 ms or more delay in loading and it will get worse when users increases because every page is a dynamic page ,so adding a suspence and loading wherever needed with skeleton will improve the UX and page loading time.

reference https://nextjs.org/docs/app/building-your-application/routing/loading-ui-and-streaming

anisharaz commented 4 months ago

working 🎇

anisharaz commented 4 months ago

Done 🎇