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

Function getParentInstance

code/new-context-api/public/app.js:1937–1939  ·  view source on GitHub ↗

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

(inst)

Source from the content-addressed store, hash-verified

1935 * Return the parent instance of the passed-in instance.
1936 */
1937function getParentInstance(inst) {
1938 return getParent(inst);
1939}
1940
1941/**
1942 * Simulates the traversal of a two-phase, capture/bubble event dispatch.

Calls 1

getParentFunction · 0.70

Tested by

no test coverage detected