MCPcopy Create free account
hub / github.com/caseywebdev/react-list / getTargetInstForInputOrChangeEvent

Function getTargetInstForInputOrChangeEvent

docs/index.js:5556–5559  ·  view source on GitHub ↗
(domEventName, targetInst)

Source from the content-addressed store, hash-verified

5554 if ("click" === domEventName) return getInstIfValueChanged(targetInst);
5555}
5556function getTargetInstForInputOrChangeEvent(domEventName, targetInst) {
5557 if ("input" === domEventName || "change" === domEventName)
5558 return getInstIfValueChanged(targetInst);
5559}
5560function is(x, y) {
5561 return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
5562}

Callers

nothing calls this directly

Calls 1

getInstIfValueChangedFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…