MCPcopy Create free account
hub / github.com/Huxpro/js-module-7day / checkAndWarnForMutatedProps

Function checkAndWarnForMutatedProps

example/webpack/bundle.js:4095–4116  ·  view source on GitHub ↗

* Given an element, check if its props have been mutated since element * creation (or the last call to this function). In particular, check if any * new props have been added, which we can't directly catch by defining warning * properties on the props object. * * @param {ReactElement} elem

(element)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

isFunction · 0.70
warnForPropsMutationFunction · 0.70

Tested by

no test coverage detected