Replies: 3 comments 7 replies
-
Related to https://cocoapods.org/pods/FlexLayout ? |
Beta Was this translation helpful? Give feedback.
-
This looks really promising! Based on the source here facebook/react-native@4eec473 it looks like FlexLayout is cross-platform C++. Any particular reason why this is a new package and not rolled into Yoga? |
Beta Was this translation helpful? Give feedback.
-
Hey folks! I want to give a quick update on this. After investigating integration of FlexLayout and react-native, we have found some potential long-term benefits, but a migration effort doesn’t yet make sense compared to other work we could be doing to improve layout capabilities and conformance. Yoga is an essential part of React Native and its community, so we want to take a more active role in the Yoga repo. Within the React Native team at Meta, we don't have the same level of expertise as the original author, but part of our decision to stick with Yoga in the near-term is motivated by a desire to do better for the OSS community. |
Beta Was this translation helpful? Give feedback.
-
In the near future, the react-native repo will be exposing some of the source for the FlexLayout layout engine for exploratory purposes. We're currently experimenting with this alternative layout engine for Yoga, which we hope might help to address some of the pain points brought by the community over the years.
This inclusion of the new files in the repository can be safely ignored as they will have no functional impact on end users during this phase, ie. APK size will not be affected, and the layout API and functionality will remain entirely unchanged.
Please also note that we also will not yet be considering feature or pull requests for the FlexLayout engine at this point in time. Feel free to comment on this discussion if you have any concerns or questions related to FlexLayout.
Beta Was this translation helpful? Give feedback.
All reactions