MCPcopy Create free account
hub / github.com/Lobos/react-ui / warnInvalidSetState

Function warnInvalidSetState

docs/lib/react.js:11030–11032  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11028 var processingChildContext = false;
11029
11030 var warnInvalidSetState = function () {
11031 "development" !== 'production' ? warning(!processingChildContext, 'setState(...): Cannot call setState() inside getChildContext()') : void 0;
11032 };
11033}
11034
11035var ReactInvalidSetStateWarningDevTool = {

Callers 1

react.jsFile · 0.85

Calls 1

warningFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…