* Populate `_nativeNode` on the rendered native/text component with the given * DOM node. The passed `inst` can be a composite.
(inst, node)
| 7300 | * DOM node. The passed `inst` can be a composite. |
| 7301 | */ |
| 7302 | function precacheNode(inst, node) { |
| 7303 | var nativeInst = getRenderedNativeOrTextFromComponent(inst); |
| 7304 | nativeInst._nativeNode = node; |
| 7305 | node[internalInstanceKey] = nativeInst; |
| 7306 | } |
| 7307 | |
| 7308 | function uncacheNode(inst) { |
| 7309 | var node = inst._nativeNode; |
no test coverage detected
searching dependent graphs…