MCPcopy Create free account
hub / github.com/danielstocks/react-sortable / resetContextStack

Function resetContextStack

bundle.js:7692–7694  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7690var failedBoundaries=null;// Error boundaries that captured an error during the current commit.
7691var commitPhaseBoundaries=null;var firstUncaughtError=null;var didFatal=false;var isCommitting=false;var isUnmounting=false;// Use these to prevent an infinite loop of nested updates
7692var NESTED_UPDATE_LIMIT=1000;var nestedUpdateCount=0;var nextRenderedTree=null;function resetContextStack(){// Reset the stack
7693reset$1();// Reset the cursors
7694resetContext$1();resetHostContainer();}// resetNextUnitOfWork mutates the current priority context. It is reset after
7695// after the workLoop exits, so never call resetNextUnitOfWork from outside
7696// the work loop.
7697function resetNextUnitOfWork(){// Clear out roots with no more work on them, or if they have uncaught errors

Callers 1

resetNextUnitOfWorkFunction · 0.85

Calls 1

resetHostContainerFunction · 0.85

Tested by

no test coverage detected