validatePropertiesInDevelopment() — react Function Reference
Architecture documentation for the validatePropertiesInDevelopment() function in ReactDOMComponent.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD d1920c22_65b3_03a6_5c07_e0adab00dcde["validatePropertiesInDevelopment()"] 1e990658_7cea_75be_1f24_2399bdf9f15b["ReactDOMComponent.js"] d1920c22_65b3_03a6_5c07_e0adab00dcde -->|defined in| 1e990658_7cea_75be_1f24_2399bdf9f15b 96cf114b_9b89_b174_432c_1584a973fcdd["setInitialProperties()"] 96cf114b_9b89_b174_432c_1584a973fcdd -->|calls| d1920c22_65b3_03a6_5c07_e0adab00dcde 336b5c16_66c9_7089_05c5_2ec95eb7ed11["updateProperties()"] 336b5c16_66c9_7089_05c5_2ec95eb7ed11 -->|calls| d1920c22_65b3_03a6_5c07_e0adab00dcde 894d4888_e1c9_cdd6_e0cb_7451b6fba151["hydrateProperties()"] 894d4888_e1c9_cdd6_e0cb_7451b6fba151 -->|calls| d1920c22_65b3_03a6_5c07_e0adab00dcde style d1920c22_65b3_03a6_5c07_e0adab00dcde fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-dom-bindings/src/client/ReactDOMComponent.js lines 94–115
function validatePropertiesInDevelopment(type: string, props: any) {
if (__DEV__) {
validateARIAProperties(type, props);
validateInputProperties(type, props);
validateUnknownProperties(type, props, {
registrationNameDependencies,
possibleRegistrationNames,
});
if (
props.contentEditable &&
!props.suppressContentEditableWarning &&
props.children != null
) {
console.error(
'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.',
);
}
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does validatePropertiesInDevelopment() do?
validatePropertiesInDevelopment() is a function in the react codebase, defined in packages/react-dom-bindings/src/client/ReactDOMComponent.js.
Where is validatePropertiesInDevelopment() defined?
validatePropertiesInDevelopment() is defined in packages/react-dom-bindings/src/client/ReactDOMComponent.js at line 94.
What calls validatePropertiesInDevelopment()?
validatePropertiesInDevelopment() is called by 3 function(s): hydrateProperties, setInitialProperties, updateProperties.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free