News for hackers. Stuff that matters.
Re:Thoughts on Svelte by runarberg on Monday March 27, 2023 @09:55AM (#35326716)
It is actually not that hard in CSS plus vanilla JS using stuff like the `animationend` event (https://developer.mozilla.org/en-US/docs/Web/API/Element/ani...). Of course svelte provides a much easier interface, then having to have to deal with event listeners.
Re:Thoughts on Svelte by fenomas on Monday March 27, 2023 @10:32AM (#35327159)
Yes, great point - to be clear I was trying to say that using CSS animations is hairy if you're already using Svelte, not that they're hairy generally.