MCPcopy Index your code
hub / github.com/plotly/dash / prepareForCommit

Function prepareForCommit

dash/deps/react-dom@18.2.0.js:10920–10927  ·  view source on GitHub ↗
(containerInfo)

Source from the content-addressed store, hash-verified

10918 return instance;
10919 }
10920 function prepareForCommit(containerInfo) {
10921 eventsEnabled = isEnabled();
10922 selectionInformation = getSelectionInformation();
10923 var activeInstance = null;
10924
10925 setEnabled(false);
10926 return activeInstance;
10927 }
10928 function resetAfterCommit(containerInfo) {
10929 restoreSelection(selectionInformation);
10930 setEnabled(eventsEnabled);

Callers 1

Calls 3

isEnabledFunction · 0.70
getSelectionInformationFunction · 0.70
setEnabledFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…