Closed Oreilles closed 1 day ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
closing as dupe of #7209 (I know this came first, but the other one has more discussion!)
This is possible:
But this isn't:
I'm in a situation where It would be very convenient to create different element depending on the
{#each}
block values with an{#if}
block, while still being able to use the animate directive.The only alternative would be to iterate the object twice (also filtering it twice), and use the crossfade transition, which wouldn't be nearly as efficient nor working as flawlessly as with the flip animation (see https://github.com/sveltejs/svelte/issues/4389).