Replies: 1 comment 1 reply
-
I'm not 100% sure that I understand your use-case. Generally speaking though, you can you the It's used like this: useSpring({ from: { ... }, to: { ... }, onFrame: () => { ... } }) More on that on https://www.react-spring.io/docs/hooks/api and on https://aleclarson.github.io/react-spring/v9/breaking-changes/#The-to-prop |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a general way to subscribe to changes on a spring without passing it to an
animated
component? I reverse-engineered this weird thing, is there a better way that I'm missing?Beta Was this translation helpful? Give feedback.
All reactions