MCPcopy Index your code
hub / github.com/reactjs/react-rails / warn

Function warn

lib/assets/react-source/development/react.js:664–672  ·  view source on GitHub ↗
(format)

Source from the content-addressed store, hash-verified

662 // they are left as they are instead.
663
664 function warn(format) {
665 {
666 for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
667 args[_key - 1] = arguments[_key];
668 }
669
670 printWarning('warn', format, args);
671 }
672 }
673 function error(format) {
674 {
675 for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {

Callers 8

defineDeprecationWarningFunction · 0.70
traverseAllChildrenImplFunction · 0.70
setFunction · 0.70
getFunction · 0.70
react.jsFile · 0.70
unstable_createPortalFunction · 0.70

Calls 2

printWarningFunction · 0.70
errorFunction · 0.70

Tested by

no test coverage detected