MCPcopy Create free account
hub / github.com/Lucifier129/react-lite / warnSetProps

Function warnSetProps

examples/simple/react.js:4413–4418  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4411
4412var warnedSetProps = false;
4413function warnSetProps() {
4414 if (!warnedSetProps) {
4415 warnedSetProps = true;
4416 "development" !== 'production' ? warning(false, 'setProps(...) and replaceProps(...) are deprecated. ' + 'Instead, call render again at the top level.') : undefined;
4417 }
4418}
4419
4420/**
4421 * Composite components are higher-level components that compose other composite

Callers 1

react.jsFile · 0.85

Calls 1

warningFunction · 0.50

Tested by

no test coverage detected