You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varformReplaying='addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'A React form was unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.getRootNode(),(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,\nd,b))}});';
1937
+
varformReplaying='addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});';
error('%s(...): Expected the last optional `callback` argument to be a '+'function. Instead received: %s.',callerName,callback);
7422
+
error('Expected the last optional `callback` argument to be a '+'function. Instead received: %s.',callback);
7417
7423
}
7418
7424
}
7419
7425
}
@@ -7442,7 +7448,7 @@ function warnNoop(publicInstance, callerName) {
7442
7448
return;
7443
7449
}
7444
7450
7445
-
error('%s(...): Can only update a mounting component. '+'This usually means you called %s() outside componentWillMount() on the server. '+'This is a no-op.\n\nPlease check the code for the %s component.',callerName,callerName,componentName);
7451
+
error('Can only update a mounting component. '+'This usually means you called %s() outside componentWillMount() on the server. '+'This is a no-op.\n\nPlease check the code for the %s component.',callerName,componentName);
error('%s(...): No `render` method found on the returned component '+'instance: did you accidentally return an object from the constructor?',name);
7613
+
error('No `render` method found on the %s '+'instance: did you accidentally return an object from the constructor?',name);
7608
7614
}else{
7609
-
error('%s(...): No `render` method found on the returned component '+'instance: you may have forgotten to define `render`.',name);
7615
+
error('No `render` method found on the %s '+'instance: you may have forgotten to define `render`.',name);
7610
7616
}
7611
7617
}
7612
7618
@@ -7665,7 +7671,7 @@ function checkClassInstance(instance, ctor, newProps) {
7665
7671
varhasMutatedProps=instance.props!==newProps;
7666
7672
7667
7673
if(instance.props!==undefined&&hasMutatedProps){
7668
-
error('%s(...): When calling super() in `%s`, make sure to pass '+"up the same props that your component's constructor was passed.",name,name);
7674
+
error('When calling super() in `%s`, make sure to pass '+"up the same props that your component's constructor was passed.",name);
7669
7675
}
7670
7676
7671
7677
if(instance.defaultProps){
@@ -9984,7 +9990,7 @@ function validateFunctionComponentInDev(Component) {
9984
9990
{
9985
9991
if(Component){
9986
9992
if(Component.childContextTypes){
9987
-
error('%s(...): childContextTypes cannot be defined on a function component.',Component.displayName||Component.name||'Component');
9993
+
error('childContextTypes cannot be defined on a function component.\n'+' %s.childContextTypes = ...',Component.displayName||Component.name||'Component');
9988
9994
}
9989
9995
}
9990
9996
@@ -10041,7 +10047,27 @@ function resolveDefaultProps(Component, baseProps) {
0 commit comments