MCPcopy Create free account
hub / github.com/plotly/dash / resetWorkInProgressVersions

Function resetWorkInProgressVersions

dash/deps/react-dom@18.3.1.js:15274–15284  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15272
15273 var workInProgressSources = [];
15274 function resetWorkInProgressVersions() {
15275 for (var i = 0; i < workInProgressSources.length; i++) {
15276 var mutableSource = workInProgressSources[i];
15277
15278 {
15279 mutableSource._workInProgressVersionPrimary = null;
15280 }
15281 }
15282
15283 workInProgressSources.length = 0;
15284 }
15285 // This ensures that the version used for server rendering matches the one
15286 // that is eventually read during hydration.
15287 // 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…