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

Pull hotfix into reanimated2 #4896

Conversation

elliottkember
Copy link

This is a copy of the above PR, against Reanimated2 branch

Summary
A few months back RN facebook/react-native#37543 that transform could be a string - but it's missing in RN 0.72.3 and causes some errors when current version of react-native-reanimated is used with RN 0.71. This PR hotfixes that, allowing transform to be a string.

Keep in mind that it's definitely not the final form of how useAnimatedStyle types should look like - it will be refactored in the future.

Test plan
This snippet yields errors on 0.71.12 without this change

@tjzel
Copy link
Collaborator

tjzel commented Aug 11, 2023

Hi @elliottkember! Thanks for your pull request - unfortunately we don't plan to make any more releases to Reanimated 2. If you need this change I strongly recommend using patch-package or (preferably) upgrade to Reanimated 3 if possible.

@tjzel tjzel closed this Aug 11, 2023
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 this pull request may close these issues.

2 participants