MCPcopy Create free account
hub / github.com/Lobos/react-ui / updateOptionsIfPendingUpdateAndMounted

Function updateOptionsIfPendingUpdateAndMounted

docs/lib/react.js:8187–8198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8185var didWarnValueDefaultValue = false;
8186
8187function updateOptionsIfPendingUpdateAndMounted() {
8188 if (this._rootNodeID && this._wrapperState.pendingUpdate) {
8189 this._wrapperState.pendingUpdate = false;
8190
8191 var props = this._currentElement.props;
8192 var value = LinkedValueUtils.getValue(props);
8193
8194 if (value != null) {
8195 updateOptions(this, Boolean(props.multiple), value);
8196 }
8197 }
8198}
8199
8200function getDeclarationErrorAddendum(owner) {
8201 if (owner) {

Callers

nothing calls this directly

Calls 2

updateOptionsFunction · 0.85
getValueMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…