Skip to content

Commit d7b570e

Browse files
committed
Move validation of text nesting into ReactDOMComponent (#26594)
Extract validateTextNesting from validateDOMNesting. We only need the parent tag when validating text nodes. Then validate it in setProp. DiffTrain build for [ac43bf6](ac43bf6)
1 parent 8ae1b02 commit d7b570e

File tree

7 files changed

+2010
-2110
lines changed

7 files changed

+2010
-2110
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ca41adb8c1b256705f73d1fb657421a03dfad82c
1+
ac43bf6870a15566507477a4504f22160835c8d3

compiled/facebook-www/ReactART-prod.modern.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9743,7 +9743,7 @@ var slice = Array.prototype.slice,
97439743
return null;
97449744
},
97459745
bundleType: 0,
9746-
version: "18.3.0-www-modern-f0a7ed1e",
9746+
version: "18.3.0-www-modern-910e3a9f",
97479747
rendererPackageName: "react-art"
97489748
};
97499749
var internals$jscomp$inline_1324 = {
@@ -9774,7 +9774,7 @@ var internals$jscomp$inline_1324 = {
97749774
scheduleRoot: null,
97759775
setRefreshHandler: null,
97769776
getCurrentFiber: null,
9777-
reconcilerVersion: "18.3.0-www-modern-f0a7ed1e"
9777+
reconcilerVersion: "18.3.0-www-modern-910e3a9f"
97789778
};
97799779
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
97809780
var hook$jscomp$inline_1325 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

0 commit comments

Comments
 (0)