Open SageJustus opened 1 month ago
@react-spring/web
@react-spring/three
@react-spring/native
@react-spring/konva
@react-spring/zdog
latest
The With a function & deps approach does not work properly, while the With a config object approach works properly.
With a function & deps
With a config object
transitions1 not working
transitions1
transitions1 working
https://codesandbox.io/p/sandbox/use-spring-1-58c7f3?file=%2Fsrc%2FApp.tsx%3A28%2C10-28%2C22
Which react-spring target are you using?
@react-spring/web
@react-spring/three
@react-spring/native
@react-spring/konva
@react-spring/zdog
What version of react-spring are you using?
latest
What's Wrong?
The
With a function & deps
approach does not work properly, while theWith a config object
approach works properly.To Reproduce
transitions1
not workingExpected Behaviour
transitions1
workingLink to repo
https://codesandbox.io/p/sandbox/use-spring-1-58c7f3?file=%2Fsrc%2FApp.tsx%3A28%2C10-28%2C22