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

Update docs about using reanimated styles #18461

Closed
ulisesmac opened this issue Jan 11, 2024 · 0 comments · Fixed by #18462
Closed

Update docs about using reanimated styles #18461

ulisesmac opened this issue Jan 11, 2024 · 0 comments · Fixed by #18462
Assignees

Comments

@ulisesmac
Copy link
Contributor

ulisesmac commented Jan 11, 2024

Problem

Just a docs update about @briansztamfater 's suggestion:

that mentions usage of apply-animations-to-style
And also maybe mark reanimated/apply-animations-to-style as deprecated so we can stop using it and refactor current usages.

#18381 (comment)

I will just suggest using the vector syntax, but won't mark the apply-animations-to-style as deprecated, since we might still need it for some cases.

As said before:

Is now use-animated-style useless?

No, in some complex components we will still need it, Reanimated presents inline styles here, and the the use of use-animated-style here, so please read them. If you are unsure, I'd suggest implementing the component as before and then trying to use the new approach.

Please check Q&A section in the related PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant