track resources in different roots separately (#25388)

* track resources in different roots separately

* flow types

* add test demonstrating portals deep into shadowRoots

* revert hostcontext changes

* lints

* funge style cache key a la ReactDOMComponentTree

* hide hacks in componentTree
This commit is contained in:
Josh Story
2022-10-04 16:11:15 -07:00
committed by GitHub
parent a638e004a3
commit f528c014f6
8 changed files with 220 additions and 43 deletions
+1 -1
View File
@@ -431,6 +431,6 @@
"443": "acquireResource encountered a resource type it did not expect: \"%s\". this is a bug in React.",
"444": "getResource encountered a resource type it did not expect: \"%s\". this is a bug in React.",
"445": "\"currentResources\" was expected to exist. This is a bug in React.",
"446": "\"currentDocument\" was expected to exist. This is a bug in React.",
"446": "\"resourceRoot\" was expected to exist. This is a bug in React.",
"447": "While attempting to insert a Resource, React expected the Document to contain a head element but it was not found."
}