MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / validateProperties$2

Function validateProperties$2

code/new-context-api/public/app.js:15339–15344  ·  view source on GitHub ↗
(type, props, canUseEventSystem)

Source from the content-addressed store, hash-verified

15337};
15338
15339function validateProperties$2(type, props, canUseEventSystem) {
15340 if (isCustomComponent(type, props)) {
15341 return;
15342 }
15343 warnUnknownProperties(type, props, canUseEventSystem);
15344}
15345
15346// TODO: direct imports like some-package/src/* are bad. Fix me.
15347var getCurrentFiberOwnerName$2 = ReactDebugCurrentFiber.getCurrentFiberOwnerName;

Callers 1

app.jsFile · 0.70

Calls 2

isCustomComponentFunction · 0.70
warnUnknownPropertiesFunction · 0.70

Tested by

no test coverage detected