mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
cdbc21132b
Summary: Here we refine the `ShadowNode::BaseTraits` static method. Before this change, ConcreteViewShadowNode<> enforces Layoutable and YogaLayoutable traits. This change moves that responsibility to LayoutableShadowNode and YogaLayoutableShadowNode which makes overall logic more coherent. Changelog: [Internal] Fabric-specific internal change. Reviewed By: sammy-SC Differential Revision: D20052027 fbshipit-source-id: fd25264204b0232b1dbbff6f9dfefd9fbcb146c4