react-native/React/Fabric/Mounting/ComponentViews
Valentin Shergin 37d19aaae3 Fabric: Unification of props management in RCTViewComponentView and subclasses
Summary:
* Now all `RCTViewComponentView` subclasses are required to set `_props` instance variable in the constructor with a default value;
* `RCTViewComponentView`'s `_props` instance variable now has `ShadredViewProps` type (that enforced by `static_assert` in `ConcreteViewShadowNode` template);
* New we use `static_pointer_cast` instead of `dynamic_pointer_cast` for casting props.

Reviewed By: mdvacca

Differential Revision: D9734199

fbshipit-source-id: b0a0939c936f8b5b540fa5fa1e4a2f1037346fc5
2018-09-10 16:50:02 -07:00
..
ActivityIndicator Fabric: Unification of props management in RCTViewComponentView and subclasses 2018-09-10 16:50:02 -07:00
Image Fabric: Unification of props management in RCTViewComponentView and subclasses 2018-09-10 16:50:02 -07:00
Root Fabric: Unification of props management in RCTViewComponentView and subclasses 2018-09-10 16:50:02 -07:00
ScrollView Fabric: Unification of props management in RCTViewComponentView and subclasses 2018-09-10 16:50:02 -07:00
Switch Fabric: Unification of props management in RCTViewComponentView and subclasses 2018-09-10 16:50:02 -07:00
Text Fabric: Unification of props management in RCTViewComponentView and subclasses 2018-09-10 16:50:02 -07:00
View Fabric: Unification of props management in RCTViewComponentView and subclasses 2018-09-10 16:50:02 -07:00