You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If {#if} and {#key} swapped, everything works correctly
Also, if you have several buttons at the same time, which change num by clicking - an error is thrown (uncomment second button, uncomment function and get error div1 is not defined).
The text was updated successfully, but these errors were encountered:
I need to display html when variable (in this repl -
num
) is truthyAnd I also need to animate
first
tag after each change of another variable(slide
)If I have html structure like this:
And if
num
is changed,first
tag is inserted aftersecond
(html order is changed)REPL
https://svelte.dev/repl/3ba09b8c428c4ee58c77ff477b5fa632?version=3.29.7
If
{#if}
and{#key}
swapped, everything works correctlyAlso, if you have several buttons at the same time, which change num by clicking - an error is thrown (uncomment second button, uncomment function and get error
div1 is not defined
).The text was updated successfully, but these errors were encountered: