(type, props)
| 35494 | dispatchQueue.push({ event: event, listeners: listeners }); |
| 35495 | } |
| 35496 | function validatePropertiesInDevelopment(type, props) { |
| 35497 | validateProperties$2(type, props); |
| 35498 | ("input" !== type && "textarea" !== type && "select" !== type) || |
| 35499 | null == props || |
| 35500 | null !== props.value || |
| 35501 | didWarnValueNull || |
| 35502 | ((didWarnValueNull = !0), |
| 35503 | "select" === type && props.multiple |
| 35504 | ? console.error( |
| 35505 | "`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.", |
| 35506 | type |
| 35507 | ) |
| 35508 | : console.error( |
| 35509 | "`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.", |
| 35510 | type |
| 35511 | )); |
| 35512 | var eventRegistry = { |
| 35513 | registrationNameDependencies: registrationNameDependencies, |
| 35514 | possibleRegistrationNames: possibleRegistrationNames |
| 35515 | }; |
| 35516 | isCustomElement(type) || |
| 35517 | "string" === typeof props.is || |
| 35518 | warnUnknownProperties(type, props, eventRegistry); |
| 35519 | props.contentEditable && |
| 35520 | !props.suppressContentEditableWarning && |
| 35521 | null != props.children && |
| 35522 | console.error( |
| 35523 | "A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional." |
| 35524 | ); |
| 35525 | } |
| 35526 | function warnForPropDifference( |
| 35527 | propName, |
| 35528 | serverValue, |
no test coverage detected
searching dependent graphs…