Loading UI and Streaming
Unanswered
M7ilan posted this in #help-forum
M7ilanOP
[app]
├── [inspect]
└── [[hash]]
├── component.tsx
├── loading.tsx
└── page.tsxIn the inspect page, a dynamic router is employed to handle hashes, using an API to retrieve information based on the provided hash. However, there is an issue where the
loading.tsx component does not display as expected. For instance, when clicking on hash 1234, the user remains on the current page (e.g., /), and there is no visual indication of ongoing data retrieval until the navigation to the dedicated hash page (e.g., /inspect/1234) is complete.