mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43305 changelog: [internal] Originally when I built setNativeProps, I assumed a node is either controlled by handled directly or it is controlled by React. But we can't make sure that's the case, users can do both and control one prop with setNativeProps and the others with React. Additionally, Suspense uses display: none to hide a subtree. Therefore, React controlled props must not be copied into `ShadowNodeFamily::nativeProps_DEPRECATED` Reviewed By: javache Differential Revision: D54453820 fbshipit-source-id: 5b4038f0dd366621d26a92f668d33f27ce60f4b4