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

Function getParentInstance

code/higher-order-components/public/app.js:2570–2572  ·  view source on GitHub ↗

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

(inst)

Source from the content-addressed store, hash-verified

2568 * Return the parent instance of the passed-in instance.
2569 */
2570function getParentInstance(inst) {
2571 return getParent(inst);
2572}
2573
2574/**
2575 * Simulates the traversal of a two-phase, capture/bubble event dispatch.

Calls 1

getParentFunction · 0.70

Tested by

no test coverage detected