mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-12 22:50:10 +08:00
Summary: This pull request removes the designated initializers in `react/mounting/**` and `react/events/**` to improve portability. A destructor was also defined for `ShadowView` to fix this error: ``` ShadowViewMutation.cpp:14: error: undefined reference to 'facebook::react::ShadowView::~ShadowView()' ShadowViewMutation.cpp:24: error: undefined reference to 'facebook::react::ShadowView::~ShadowView()' clang++: error: linker command failed with exit code 1 (use -v to see invocation) ``` [General] [Changed] - Fabric: Remove designated initializers in Events and Mounting Pull Request resolved: https://github.com/facebook/react-native/pull/23441 Differential Revision: D14298890 Pulled By: shergin fbshipit-source-id: f5d8fc6e1f5968b94e8bb3ca0c3f0e81cf892f83