Valentin Shergin
b808bfdce2
Fabric: Introducting ShadowNode.sourceNode
, the node used in copy-constructor
...
Summary: We will need this later in the diffing alogrithm.
Reviewed By: fkgozali
Differential Revision: D7330337
fbshipit-source-id: 3da44a62e4d5f30deed28b18a5779544153244f3
2018-03-19 17:08:31 -07:00
Naris Siamwalla
12535ae69d
Fix clang-6 strictness surrounding virtual destructors
...
Reviewed By: smeenai
Differential Revision: D7326765
fbshipit-source-id: 9df477dfa89812e05e79b5e6d510bcbbc793381c
2018-03-19 15:00:09 -07:00
Valentin Shergin
6b0960cbdb
Introducing ConcreteShadowNode
...
Summary: ConcreteShadowNode defines a template which connects typed Props and typed ShadowNode.
Reviewed By: fkgozali
Differential Revision: D7230667
fbshipit-source-id: be28314d6846d69960e921da852f01232951f965
2018-03-18 19:17:39 -07:00
Valentin Shergin
840638c441
Introducing ComponentDescriptor
...
Summary:
Abstract class and default template implementation.
`ComponentDescriptor`s define basic logic of managing (creation, cloning, applying props) ShadowNode of particular type.
Reviewed By: fkgozali
Differential Revision: D7230671
fbshipit-source-id: c32636f4db0716b55a1637f61c4f1872fc52cea7
2018-03-18 19:17:39 -07:00
Valentin Shergin
c623455845
Abstract classes for ShadowNode and Props
...
Summary: Foundation clases for Fabric designed to be "const-first".
Reviewed By: fkgozali
Differential Revision: D7230672
fbshipit-source-id: 433acd35a7958d5d577358b0a306923f970e573f
2018-03-18 19:17:39 -07:00