ruggedy
ruggedy
@iammarkps @drcmda is this still an issue or can it be closed?
the problem is useSpring updates the internal animation controller on every rerender(i.e every time you call setState). there should be some sore of diffing of props, i.e if the props...
a partial working example [here](https://codesandbox.io/s/wyqll3zo95). the problem now is if you pass a value that is an object or array, that is created in the params function i.e `useSpring({x: 0,...
@dbismut yh it is actually working correctly, because now you are updating the internal animation controller everytime `useGesture` calls `onAction`, which technically starts a new animation everytime. just a suggestion,...
Hi @lorenzomigliorero. thanks for pointing this out. good catch actually. so basically `useSpring` lets you update the spring values two ways. 1) you can overwrite the spring by calling `useSpring`...
it wouldn't invalidate it, but the memoized callback will only have access to a stale version of count. so in other to get the latest value of ref, it needs...
Closing this issue as the bug has been resolved in the latest releases
Gonna have a look
resolved by #378
@yuchi I think it's a good idea. feel free to create a PR for this of course. as this is going to be a breaking change. maybe wait for @drcmda...