Taking https://codesandbox.io/s/reverent-tesla-c0kq0 from https://github.com/lukeed/navaid/issues/13.
I cannot navigate anymore.
Until 3.5.1 you can navigate like this:
With 3.5.2 you can't.
You can do 1 and 2 but at the step 3 you see nothing.
If you are on the page "team/1" and reload using codesandbox's preview icon it works.
In one of my projects the error is even more frightening:
TypeError: Cannot read property '$$' of undefined
Maybe related: https://github.com/sveltejs/svelte/issues/3055
The problem _is_ the "second problem" – that runtime error appears, killing the route/display.
The error appears in two forms:
function flush() {
const seen_callbacks = new Set();
do {
// first, call beforeUpdate functions
// and update components
while (dirty_components.length) {
const component = dirty_components.shift();
set_current_component(component);
update(component.$$); //<~ here
}
// ...
}
And here:
i: function intro(local) {
if (current) return;
(0, _internal.transition_in)(switch_instance.$$.fragment, local);
current = true;
},
They both seem to stem from a transition_in
function transition_in(block, local) {
if (block && block.i) {
outroing.delete(block);
block.i(local);
}
}
Can you try with v3.5.3?
I just tried it — still broken
Am I right in thinking this was Navaid-related, and is fixed with Navaid 1.0.5?
Nope 😬 still happens with latest versions of each
Fixed in 3.6.0! thanks
Fixed in 3.6.0! thanks
Thanks only to you actually.
Most helpful comment
Fixed in 3.6.0! thanks