Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: useTransition with a function not working #2287

Open
1 of 5 tasks
SageJustus opened this issue Jun 3, 2024 · 0 comments
Open
1 of 5 tasks

[bug]: useTransition with a function not working #2287

SageJustus opened this issue Jun 3, 2024 · 0 comments
Labels
template: bug This issue might be a bug

Comments

@SageJustus
Copy link

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 the With a config object approach works properly.

To Reproduce

transitions1 not working

Expected Behaviour

transitions1 working

Link to repo

https://codesandbox.io/p/sandbox/use-spring-1-58c7f3?file=%2Fsrc%2FApp.tsx%3A28%2C10-28%2C22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
template: bug This issue might be a bug
Projects
None yet
Development

No branches or pull requests

1 participant