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
263 stars 6 forks source link

Safari / iOS error in Svelte 5 #41

Closed wiemann closed 4 months ago

wiemann commented 4 months ago

I'm receiving the following error when accessing my Svelte 5 (5.0.0-next.143) site via Safari (iOS 17.4.1): undefined is not an object (evaluating '_page.data.flash')

It seems to happen during the hydration phase.

I'm using sveltekit-flash-message v 2.4.4.

Anybody else seeing that?

wiemann commented 4 months ago

After reloading the webapp in an other tab, the error went away. Strange, but probably a Svelte 5 alpha issue...

ciscoheat commented 4 months ago

Glad you got it working, closing this!