mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-06-14 19:48:49 +08:00
Summary: It turns out that just only props is not enought to build an initial state value in some cases for some component. Seems we need at least `surfaceId` and `eventEmitter` in some cases (which seems totally reasonable). So, seems using the whole `ShadowNodeFragment` for that purpose is a good choise. Reviewed By: mdvacca Differential Revision: D15039135 fbshipit-source-id: d9a5f47f971ccf6cdb2f888bd31f7948b37b67ef