MENU
loading.js
The special file loading.js is used to generate the UI before page.js finishes loading.
It is used temporarily in place of page.js.
loading.tsx uses the layouts and templates found above it in the UI hierarchy too.
Streaming with <Suspense> progressively renders HTML from the server to the client and prioritizes what components to hydrate and make interactive first based on user interaction.