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

Function ref

code/redux/public/app.js:9120–9127  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

9118 return current.ref;
9119 }
9120 var ref = function (value) {
9121 var refs = inst.refs === emptyObject ? inst.refs = {} : inst.refs;
9122 if (value === null) {
9123 delete refs[stringRef];
9124 } else {
9125 refs[stringRef] = value;
9126 }
9127 };
9128 ref._stringRef = stringRef;
9129 return ref;
9130 } else {

Callers 1

commitAttachRefFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected