DEV Community

loading...

Discussion on: Suppressing Svelte transitions with the #each hack

Collapse
dimfeld profile image
Daniel Imfeld Author • Edited

I've played around with conditional transitions a bit but haven't yet come up with anything that actually works. Next thing I'm going to try is some sort of wrapper function around a transition that can evaluate a function or something to decide to run a transition or not.

Not sure if it'll work but I'll definitely write about it if it does :). If you do come up with something I'd love to hear it!