David Vacca
ac929ef4f6
Fix subtle bugs in cloning and FabricUIManager
...
Reviewed By: achen1
Differential Revision: D7164980
fbshipit-source-id: 86e9f3f11b67c8947b177aac23f99808083c3121
2018-03-05 21:26:19 -08:00
David Vacca
22990c3ce7
Add extra information to error message reported when a ReactRawText is included as a child of a non Text component
...
Reviewed By: achen1
Differential Revision: D7120188
fbshipit-source-id: 553a26d04a62dceb86d791bcdcb3a5e16a12f64b
2018-03-01 16:57:25 -08:00
David Vacca
9b3861c109
Fix unmount of ReactRootView for Fabric surfaces
...
Reviewed By: fkgozali
Differential Revision: D7114865
fbshipit-source-id: f0a1c47c983e610fe0dba3051ed8aa350ac052cc
2018-03-01 10:33:21 -08:00
David Vacca
b5b0ee853e
Adding configuration of Fabric inside ReactRootView.
...
Reviewed By: achen1
Differential Revision: D7102701
fbshipit-source-id: f655327372c42ad86042011a3af3ee693d14014a
2018-03-01 10:33:21 -08:00
David Vacca
ddcd609a86
Refactor cloneWithNewChildren method
...
Reviewed By: achen1
Differential Revision: D7064266
fbshipit-source-id: 71ef5651893359a257c39a5943812853f8d0dbcd
2018-02-27 18:47:50 -08:00
David Vacca
1b63da753f
Implement Cloning for ART Views
...
Reviewed By: achen1
Differential Revision: D7058410
fbshipit-source-id: 394330654be1ab70853f78580c2543e04a3efb7c
2018-02-23 17:52:20 -08:00
David Vacca
d352c93487
Register ReactRootView into FabricUIManagerModule
...
Reviewed By: achen1
Differential Revision: D7043902
fbshipit-source-id: fecef5a019dadd3d2802baa20dd8a3711e566ed3
2018-02-22 23:06:19 -08:00
Andrew Chen (Eng)
cf0193f9e0
More tests for FabricUIManagerModule
...
Reviewed By: mdvacca
Differential Revision: D7045459
fbshipit-source-id: f96758cf04b41836f73b29e62d43a122d955c67a
2018-02-22 12:24:32 -08:00
Andrew Chen (Eng)
190e6bef2e
FabricUIManagerModuleTest setup and testCloneNode
...
Reviewed By: mdvacca
Differential Revision: D7037558
fbshipit-source-id: a62617c7e16102cf7d12ecde48a95feec264fa51
2018-02-21 12:47:51 -08:00
David Vacca
ad06403c3e
Introduce cloning mechanism for React Shadow Node
...
Reviewed By: achen1
Differential Revision: D7018869
fbshipit-source-id: beca45b1df9602ebbc9172091b24a2bf44e103f4
2018-02-20 19:09:52 -08:00
Sophie Alpert
1490ab12ef
Update license headers for MIT license
...
Summary:
Includes React Native and its dependencies Fresco, Metro, and Yoga. Excludes samples/examples/docs.
find: ^(?:( *)|( *(?:[\*~#]|::))( )? *)?Copyright (?:\(c\) )?(\d{4})\b.+Facebook[\s\S]+?BSD[\s\S]+?(?:this source tree|the same directory)\.$
replace: $1$2$3Copyright (c) $4-present, Facebook, Inc.\n$2\n$1$2$3This source code is licensed under the MIT license found in the\n$1$2$3LICENSE file in the root directory of this source tree.
Reviewed By: TheSavior, yungsters
Differential Revision: D7007050
fbshipit-source-id: 37dd6bf0ffec0923bfc99c260bb330683f35553e
2018-02-16 18:31:53 -08:00
Pritesh Nandgaonkar
0230672275
Reverting the dirty child optimization
...
Reviewed By: emilsjolander
Differential Revision: D6203290
fbshipit-source-id: 8e42abb70e55f0fac90faaa21ecdbe0fbb76ce6b
2017-10-31 23:15:43 -07:00
Pritesh Nandgaonkar
587225ab45
Used hasDirtyChildren tag for the optimization
...
Reviewed By: emilsjolander
Differential Revision: D6134754
fbshipit-source-id: bbcfee14058140b946401de756a3f130de0f51cd
2017-10-31 08:21:54 -07:00
Valentin Shergin
d0790fea39
Introducting UIManager.setLocalData(), the way to provide environmental data to ShadowNode
...
Summary:
In some cases we need a way to provide some peice of data to shadow node
to improve layout (or do something similar), `setLocalData` allows to do this.
Reviewed By: AaaChiuuu
Differential Revision: D5828368
fbshipit-source-id: bf6a04f460dc7695a16269426d365b78909bc8eb
2017-10-02 16:31:18 -07:00
David Vacca
a5d1d25f56
BREAKING: Add interface for ReactShadowNode
...
Reviewed By: AaaChiuuu
Differential Revision: D5943137
fbshipit-source-id: 00950190e0256303d423ae86c6c18facf173ad6a
2017-10-02 09:08:28 -07:00
David Vacca
9b3cc30357
Backed out changeset 7c338fe3b747
...
Reviewed By: AaaChiuuu
Differential Revision: D5926999
fbshipit-source-id: 58595f74f1fab764b63b5d7d6c2f20d8edb2efda
2017-09-27 16:45:11 -07:00
Andrew Chen (Eng)
08befb730b
Add interface for ReactShadowNode
...
Reviewed By: AaaChiuuu
Differential Revision: D5871546
fbshipit-source-id: 7c338fe3b747a79377a54867c789028d221b3dd5
2017-09-20 08:47:32 -07:00