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

feat: Add react-native 0.78 support #578

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

mrousavy
Copy link
Contributor

Summary

In react-native 0.78, they removed StyleLength::unit(). Instead, you can check StyleLength::isUndefined() directly, which achieves the same thing.

Technically not backwards compatible, but I remember Janic saying the policy for new arch is to not be backwards compatible until it is stable and used by (pretty much) everyone.

Test Plan

Build an app with RN 78. Currently in RC.1

In react-native 0.78, they removed `StyleLength::unit()`. Instead, you can check `StyleLength::isUndefined()` directly, which achieves the same thing.

Technically not backwards compatible, but I remember Janic saying the policy for new arch is to not be backwards compatible until it is stable and used by (pretty much) everyone.
@janicduplessis
Copy link
Collaborator

I think it is fine to not be backwards compatible, but will have to release this as beta until 0.78 is stable.

@janicduplessis janicduplessis merged commit 684a759 into AppAndFlow:main Jan 24, 2025
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.

None yet

2 participants