MCPcopy
hub / github.com/tdewolff/minify / handleSetValue

Function handleSetValue

_benchmarks/sample_antd.js:13022–13027  ·  view source on GitHub ↗
(val, callback)

Source from the content-addressed store, hash-verified

13020 setValue = _useMergedState2[1];
13021
13022 var handleSetValue = function handleSetValue(val, callback) {
13023 if (props.value === undefined) {
13024 setValue(val);
13025 callback === null || callback === void 0 ? void 0 : callback();
13026 }
13027 }; // =========================== Value Update ===========================
13028 // Max length value
13029
13030

Callers 3

onInternalCompositionEndFunction · 0.85
handleChangeFunction · 0.85
handleResetFunction · 0.85

Calls 2

setValueFunction · 0.85
callbackFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…