Open TatianaKapos opened 8 months ago
This will no longer be the case once we enable bridgeless mode - In bridgeless the paper UIManager and ViewManagers will no longer be instantiated at all.
@acoates-ms So we won't need to keep making dummy viewmanagers to instantiate every time we add a new fabric component view?
Summary
Whie creating Fabric components, you need to also register them in Paper Views (when creating new methods or components that Fabric has but Paper doesn't), do we want to separate these or is it more useful to share code between the two?
Motivation
Cleaner code and separation between Fabric and Paper.
For example, currently we have an UnimplentedViewManager that holds Modal properties because Modal doesn't have a Paper-specific view manager. See: https://github.com/microsoft/react-native-windows/blob/main/vnext/Microsoft.ReactNative/Views/UnimplementedViewManager.cpp#L62
We also added the size property to Activity Indicator to be handled on the native-side on Fabric and had to add that property to the Paper ActivityIndicatorView Manager here: https://github.com/microsoft/react-native-windows/blob/main/vnext/Microsoft.ReactNative/Views/ActivityIndicatorViewManager.cpp#L26
Basic Example
No response
Open Questions
No response