How can I connect a Node / Value from v1 to drive an animation in v2 ? #1559
Unanswered
andreibarabas
asked this question in
Q&A
Replies: 1 comment 1 reply
-
v2 wasn't really designed to adapt to v1 but they can coexist in the same codebase. You can try writing your own wrapper by utilizing |
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
-
Hey guys,
Context:
We are using a bunch of libraries that rely on v1 to drive animation. One example being react-native-tab-view which we use directly for a custom tab experience.
The library exposes an animated node (position) that we currently use to animate styles of child components as they move in and out of the screen.
We would like to start migrating to v2, but don't know how to do it, as the position is a node on the v1 architecture and having to wait for every library to upgrade their dependency would probably be a high barrier of entry.
I welcome your thoughts on this matter. How would you solve it?
Beta Was this translation helpful? Give feedback.
All reactions