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

Function resetWorkInProgressVersions

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

Source from the content-addressed store, hash-verified

16091
16092 var workInProgressSources = [];
16093 function resetWorkInProgressVersions() {
16094 for (var i = 0; i < workInProgressSources.length; i++) {
16095 var mutableSource = workInProgressSources[i];
16096
16097 {
16098 mutableSource._workInProgressVersionPrimary = null;
16099 }
16100 }
16101
16102 workInProgressSources.length = 0;
16103 }
16104 // This ensures that the version used for server rendering matches the one
16105 // that is eventually read during hydration.
16106 // If they don't match there's a potential tear and a full deopt render is required.

Callers 3

completeWorkFunction · 0.70
unwindWorkFunction · 0.70
unwindInterruptedWorkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…