Relative Content

Tag Archive for typescriptsveltesveltekit

SvelteKit navigation delayed by await

I have a component that loads some data asynchronously and displays it. There are also ways to navigate to different pages from that component. However, the navigation only happens after all #await requests are resolved. I’d like to navigate immediately after the user clicks on the link and not wait for all the data of the old page to load. Is there a way to do that?