Patrick

Results 61 comments of Patrick

Danke für deine Antwort. Das habe ich inzwischen auch durch ein anderes issue herausgefunden. Aber vom Ding her funktioniert es ja. Also wenn man einen neuen Block mit dem +-Button...

For everyone who needs a workaround for this: ```ts import type { SvelteComponent } from 'svelte'; import { check_outros, group_outros, transition_out } from 'svelte/internal'; // Workaround for https://github.com/sveltejs/svelte/issues/4056 const outroAndDestroy...

> Just bit by this (sveltekit v1.0.0-next.71). I have some transitions on a page, and the out transition is firing when navigating to a new page. This makes navigation feel...

> > but it's still not immediately clear how to deal with path segments that contain multiple params. > > Not sure what you mean here with "multiple params", wouldn't...

Good solution @dominikg > unfortunate side effect: you have to update your build target to `es2022` for support of TLA If you don't want to use es2022, you could do...

> @PatrickG, as I mentioned in the issue, it will work only if you add `await parent()` for each page load function. I was only talking about the solution @dominikg...

My proposal would be an exported `init` or `initialize` (can't think of a better name) function in `hooks.client.js` that gets called (and awaited) right after the `init` function in https://github.com/sveltejs/kit/blob/177a5a9f8219f3f9633d8f8dc879f8472f74d6a2/packages/kit/src/runtime/client/start.js#L28...

> ditch the `beforeNavigate` behavior for unload events entirely My guess is that most people that want to `cancel()` a navigation in `beforeNavigation` also want/need the current behavior of preventing...

This seems to be a problem with devalue. https://stackoverflow.com/a/22747272

A quick fix might be to pass an array to the function, with destructuring the difference would be four chars (`[][]`). But I don't know if there is a max...