Modernises all dependencies (couldn't get it to build on my machine with the existing ones)
Fixes a bug where calling dynamics.stop in complete for example with another interleaved animation in place caused a crash. Also added a test. This happens frequently when combined with react animations since the react lifecycle componentWillLeave(callback) will call componentWillUnmount once callback is called (synchronously) which usually should call dynamics.stop.
This PR:
dynamics.stop
incomplete
for example with another interleaved animation in place caused a crash. Also added a test. This happens frequently when combined with react animations since the react lifecyclecomponentWillLeave(callback)
will callcomponentWillUnmount
oncecallback
is called (synchronously) which usually should calldynamics.stop
.