Features
- We listened to the feedback people had, so whilst we encourage people to use the pattern
[styles, api] = useSpring()
we have aliased callingapi
to beapi.start
#1359 (thanks to @dbismut) POTENTIALLY BREAKING CHANGE
We've unified the return of all eventsonStart
,onChange
,onRest
etc. to be the following -(animationResult, controller, item)
item will only not beundefined
when usinguseTransition
.
Fixes
- scrollTop is not set when from & to are equal #1185 (thanks @Rohanhacker)
- skip animation with async to infinite loop #1160
- Stop jank in animation when duration changes on SpringValue #1163