popmotion icon indicating copy to clipboard operation
popmotion copied to clipboard

Is https://popmotion.io/api/tween/ is completely out of date?

Open mbylstra opened this issue 4 years ago • 4 comments

As far as I can tell there is no longer a function named tween, as is reported by my typescript compiler, and from looking at the source code. I am very confused. Has this been replaced with a function simply named animate? Why do these docs still exist? If they are there for people on an old version, there should be a big warning sign saying that they're out of date and pointing people at the latest version. I can't remember how I ended up at that url, perhaps from a google search.

mbylstra avatar Nov 09 '20 09:11 mbylstra

Yeah good point, we'll add a deprecation warning at the top of these pages.

mattgperry avatar Nov 09 '20 09:11 mattgperry

Thanks! This is a fantastic library by the way - exactly what I was looking for!

mbylstra avatar Nov 09 '20 22:11 mbylstra

Ping @mattgperry, this holds up for at least chain and delay too. The upgrade guide is missing content: https://popmotion.io/blog/20190704-upgrade-to-pure-9/

Is there any guidance for how to bring in the great changes from version 9, please? 🌹

JoshuaKGoldberg avatar Dec 01 '20 18:12 JoshuaKGoldberg

Please please add that deprecation notice. I just wasted quite a bit of time trying to learn how to use popmotion from https://popmotion.io/learn and couldn't figure out why I couldn't import value.

mattrossman avatar Aug 01 '21 15:08 mattrossman