adiGuba
adiGuba
Hello, This is difficult to achieve, as an "empty snippet" can take multiple form and difficult to detect... For example : ```svelte ``` I think that it would be simplier...
> It might be more sensible to put the condition in the `#snippet` somehow, e.g. > > ```svelte > > {#snippet footer() if condition} > ... > {/snippet} > >...
Hello, > * $state(...) created from $props() does not warn Yes I think that this should produce a warning. > * $state(...) created from other $state(...) only warns "one level...
Yes, if you want the state to be reactive you have to use a **$derived()** : ```js let { x } = $props() let y = $derived(x); ``` If you...
Hello, The bug seem to only occurs with `bind:textContent={string}` AND an actual content `{string}` on the textarea... Why did you add both ? There no bug with only bond:textContent :...
That something I have reported here : https://github.com/sveltejs/svelte/issues/13434 But there a catch : on **Svelte 4** slots use a different name-space than props, so there may be conflicts. Example :...
> We already bail out in the migration script if that's the case Yes but conflits are possible if the component was not migrated.
Hello, You can use `document.cookie`, `window.localStorage`, `window.sessionStore` or any client-side info on +page.js load(), but you have to do this in an `if (browser)` since the function is also executed...
I think it's the same in React : you cannot prerender statically a page that requires authentication. Or React does not prerender the page, but build it only on client-side...