MCPcopy
hub / github.com/facebook/react / diff

Function diff

packages/react-native-renderer/src/ReactNativeAttributePayload.js:481–492  ·  view source on GitHub ↗
(
  prevProps: Object,
  nextProps: Object,
  validAttributes: AttributeConfiguration,
)

Source from the content-addressed store, hash-verified

479}
480
481export function diff(
482 prevProps: Object,
483 nextProps: Object,
484 validAttributes: AttributeConfiguration,
485): null | Object {
486 return diffProperties(
487 null, // updatePayload
488 prevProps,
489 nextProps,
490 validAttributes,
491 );
492}

Callers 12

commitUpdateFunction · 0.90
unhideInstanceFunction · 0.90
waitForFunction · 0.50
waitForAllFunction · 0.50
waitForThrowFunction · 0.50
unstable_waitForExpiredFunction · 0.50
waitForPaintFunction · 0.50
waitForDiscreteFunction · 0.50
assertLogFunction · 0.50
actFunction · 0.50
assertConsoleLogsClearedFunction · 0.50
printDiffFunction · 0.50

Calls 1

diffPropertiesFunction · 0.85

Tested by

no test coverage detected