MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / restoreStateIfNeeded

Function restoreStateIfNeeded

code/third-party/public/app.js:2791–2806  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2789}
2790
2791function restoreStateIfNeeded() {
2792 if (!restoreTarget) {
2793 return;
2794 }
2795 var target = restoreTarget;
2796 var queuedTargets = restoreQueue;
2797 restoreTarget = null;
2798 restoreQueue = null;
2799
2800 restoreStateOfTarget(target);
2801 if (queuedTargets) {
2802 for (var i = 0; i < queuedTargets.length; i++) {
2803 restoreStateOfTarget(queuedTargets[i]);
2804 }
2805 }
2806}
2807
2808var ReactControlledComponent = Object.freeze({
2809 injection: injection$2,

Callers 1

batchedUpdatesFunction · 0.70

Calls 1

restoreStateOfTargetFunction · 0.70

Tested by

no test coverage detected