ciscoheat / sveltekit-flash-message

Send temporary data after redirect, usually from endpoints. Works with both SSR and client.
https://www.npmjs.com/package/sveltekit-flash-message
MIT License
246 stars 5 forks source link

feature request: consider adhering to SvelteKit 2.0 practices regarding (not) throwing errors/redirects #31

Closed ollema closed 6 months ago

ollema commented 6 months ago

https://kit.svelte.dev/docs/migrating-to-sveltekit-2#redirect-and-error-are-no-longer-thrown-by-you

ciscoheat commented 6 months ago

It works when you remove throw, does it? So it's just a documentation update?

ollema commented 6 months ago

it does work, so just a documentation update 🤦 sorry for wasting your time with the false alarm

ciscoheat commented 6 months ago

Added a note in the docs in the latest version, which has SvelteKit 2 support now.