MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / getParentInstance

Function getParentInstance

code/one-direction-data-flow/public/app.js:2449–2451  ·  view source on GitHub ↗

* Return the parent instance of the passed-in instance.

(inst)

Source from the content-addressed store, hash-verified

2447 * Return the parent instance of the passed-in instance.
2448 */
2449function getParentInstance(inst) {
2450 return getParent(inst);
2451}
2452
2453/**
2454 * Simulates the traversal of a two-phase, capture/bubble event dispatch.

Calls 1

getParentFunction · 0.70

Tested by

no test coverage detected