Describe the bug A clear and concise description of what the bug is.
Using a Svelte transition in a route throws an exception and breaks the app.
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'split')
at resolve (routes.js:214:30)
at resolveLink (routes.js:321:23)
at resolve (hooks.js:141:26)
at Object.$$self.$$.update (Link.svelte:34:12)
at update (index.mjs:1081:12)
at flush (index.mjs:1052:13)
Describe the bug A clear and concise description of what the bug is. Using a Svelte transition in a route throws an exception and breaks the app.
To Reproduce Steps to reproduce the behavior:
example/basic-client-side/src/Blog.svelte
import { fly } from 'svelte/transition'
to<script>
<div transition:fly="{{ y: 10, duration: 1000 }}">test</div>
at the end of the file. Save.blog
- you should see the animation. Now click onhome
- the app will break.transition:fly
toin:fly
fixes the issue.Please add a link to an example in the Svelte REPL or in a Codesandbox, if you can.
Desktop (please complete the following information):