You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by samausir January 2, 2025
In https://svelte.dev/tutorial/kit/redirects, on top of the page, the throw mechanism is mentioned. But then there's no further mention of that and instead redirect is used and explained. I'm confused as to if that line is out-of-place or what it means otherwise.
Discussed in sveltejs/kit#13263
Originally posted by samausir January 2, 2025
In https://svelte.dev/tutorial/kit/redirects, on top of the page, the
throw
mechanism is mentioned. But then there's no further mention of that and insteadredirect
is used and explained. I'm confused as to if that line is out-of-place or what it means otherwise.The
throw
mechanism mentioned in the tutorial can probably be clarified in https://github.com/sveltejs/svelte.dev/blob/main/apps/svelte.dev/content/tutorial/03-sveltekit/09-errors-and-redirects/04-redirects/index.md since callingredirect()
already throws for us.The text was updated successfully, but these errors were encountered: