MCPcopy Create free account
hub / github.com/microsoft/SandDance / copyWithSet

Function copyWithSet

docs/external/js/react-dom.development.js:24623–24625  ·  view source on GitHub ↗
(obj, path, value)

Source from the content-addressed store, hash-verified

24621 };
24622
24623 var copyWithSet = function (obj, path, value) {
24624 return copyWithSetImpl(obj, path, 0, value);
24625 }; // Support DevTools editable values for useState and useReducer.
24626
24627
24628 overrideHookState = function (fiber, id, path, value) {

Callers 1

Calls 1

copyWithSetImplFunction · 0.85

Tested by

no test coverage detected