Tee Ming
Tee Ming
Would [`preload`](https://kit.svelte.dev/docs/modules#$app-navigation-preloaddata) fit your use case? For example: ```html import { preload, goto } from '$app/navigation'; let value = ''; async function customGoto(href) { try { await preload(href); } catch...
Sorry for getting back to you late! I found some time to play around and can confirm there's no obvious way to detect errors because it's been explicitly excluded from...
@Rich-Harris should `preloadData` know about thrown errors from load functions or should it primarily be used to load the code / data for the next page?
I've drafted a PR for this fix. I think we can agree it's not a breaking change since it never worked correctly in the first place (status always returned 200...
> the status is missing if there's a redirect, which seems a bit pointless. For one, if the status is always provided then it makes any logic dependent on the...
> Hm, that's a bit annoying, but would I be correct in saying that wouldn't be a breaking change since it would just mean adding (not removing/changing) a property? Or...
I think this is what you're looking for: https://kit.svelte.dev/docs/load#streaming-with-promises
Sorry for misunderstanding. So the feature request is to stream HTML instead of load data, right? Related links: * https://www.builder.io/blog/streaming-is-it-worth-it * https://nextjs.org/docs/app/building-your-application/routing/loading-ui-and-streaming From builder.io: > A page contains a lot...
The issue is that we cannot detect changes made by `history.replaceState()` unless we proxy it (then we can update `$page.url`). We should decide if we want to support the History...
> If the target of redirect is a small file, it gets included in the redirects as data:base64 URL (not valid in Cloudflare's eyes), is there a way to prevent...