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

Function getTargetInstForInputOrChangeEvent

code/redux/public/app.js:5089–5093  ·  view source on GitHub ↗
(topLevelType, targetInst)

Source from the content-addressed store, hash-verified

5087}
5088
5089function getTargetInstForInputOrChangeEvent(topLevelType, targetInst) {
5090 if (topLevelType === 'topInput' || topLevelType === 'topChange') {
5091 return getInstIfValueChanged(targetInst);
5092 }
5093}
5094
5095function handleControlledInputBlur(inst, node) {
5096 // TODO: In IE, inst is occasionally null. Why?

Callers

nothing calls this directly

Calls 1

getInstIfValueChangedFunction · 0.70

Tested by

no test coverage detected