MCPcopy Create free account
hub / github.com/adobe/react-spectrum /

Class

packages/react-aria/src/collections/Document.ts:264–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262 * Collection Node which is copied on write.
263 */
264export class ElementNode<T> extends BaseNode<T> {
265 nodeType = 8; // COMMENT_NODE (we'd use ELEMENT_NODE but React DevTools will fail to get its dimensions)
266 node: CollectionNode<T> | null;
267 isMutated = true;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected