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
Modifying script loading to accommodate the upcoming release of Svelte 5.
The `on:load` event for scripts placed inside `<svelte:head>` does not
fire in Svelte 5 as a result of this bug:
sveltejs/svelte#8301
Instead of loading the Cloudfare Turnstile script in `<svelte:head>`, load
the script dynamically during mount. This is functionally equivalent to
using `<svelte:head>` but accommodates an operational load event handler.
If Svelte 5 resolves Issue 8301, this is not needed.
0 commit comments