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

Function getParentInstance

code/controlled-uncontrolled/public/app.js:1900–1902  ·  view source on GitHub ↗

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

(inst)

Source from the content-addressed store, hash-verified

1898 * Return the parent instance of the passed-in instance.
1899 */
1900function getParentInstance(inst) {
1901 return getParent(inst);
1902}
1903
1904/**
1905 * Simulates the traversal of a two-phase, capture/bubble event dispatch.

Calls 1

getParentFunction · 0.70

Tested by

no test coverage detected