leptos-animated-for icon indicating copy to clipboard operation
leptos-animated-for copied to clipboard

Leptos 0.7 support

Open soundprojects opened this issue 1 year ago • 4 comments

It seems new version 0.7.0 breaks functionality

soundprojects avatar Dec 02 '24 09:12 soundprojects

Hi, thanks for raising this. The crate doesn't work with Leptos 0.7 and I have no plans to further develop the project or upgrade it to the latest framework releases. The techniques used here aren't going to work in 0.7 anyway. I intend to completely rewrite this library instead for a more friendly and customizable API. It may take a few weeks though before I have a 0.7-ready replacement.

brofrain avatar Dec 02 '24 19:12 brofrain

Hi,

is this replacement project still something that is under construction?

soundprojects avatar Mar 12 '25 02:03 soundprojects

Hey,

it is a work-in-progress, but I lack the time recently to get it in a usable state. I also got a bit stuck on implementing FLIP properly, since Leptos was missing synchronous effects for a while and I wasn't able to implement them myself. https://github.com/leptos-rs/leptos/pull/3650 was just merged and I'm yet to explore if that would make my implementation less hacky and mutation observer-dependent. So uh... need some time to get it done. Don't know how much exactly 🙂 Sorry for the long wait

brofrain avatar Mar 12 '25 15:03 brofrain

Hi,

it's been a while, but I've finally got something that seems to work 🙂 https://github.com/brofrain/leptos-animate Feel free to check it out. Leptos 0.8+ is required since ImmediateEfect indeed proved to be necessary. I hope you'll like the new approach!

brofrain avatar May 11 '25 19:05 brofrain