Closed frederikhors closed 4 years ago
I think this can help:
index.umd.js:277 Uncaught (in promise) TypeError: Cannot read property 'key' of undefined
at rm (index.umd.js:277)
at Object.rm (index.umd.js:312)
at unassignRoute (Router.svelte:54)
at Route.svelte:87
at run (index.mjs:18)
at Array.forEach (<anonymous>)
at run_all (index.mjs:24)
at destroy_component (index.mjs:1345)
at Object.destroy [as d] (App.svelte:40)
at Object.destroy [as d] (router.js:187)
I got this one: TypeError: "root.info is undefined"
I do not. Use incognito mode with that REPL.
Nevermind, I found the root cause. 🐛
Should we add a test for this bug?
Should we add a test for this bug?
Yeah, but I'm still unsure how to add more tests without struggle. 🤔
REPL: https://svelte.dev/repl/8b0565744d414abd88c2d8e42cccb6a8?version=3.20.1
I expect to see
/notfound
NotFound
fallback route component.Why not?