-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Svelte update (3.5.1 > 3.5.2) and BOOOM! (problems, not joys) #3054
Comments
Maybe related: #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 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 |
check for existence of switch instance before introing
Fixed in 3.6.0! thanks |
Thanks only to you actually. |
Taking https://codesandbox.io/s/reverent-tesla-c0kq0 from lukeed/navaid#13.
FIRST PROBLEM
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.
SECOND PROBLEM
In one of my projects the error is even more frightening:
The text was updated successfully, but these errors were encountered: