Skip to content

Commit 0567fd0

Browse files
p-sunfacebook-github-bot
authored andcommitted
4/4 Fix RNHostComponentDetailsRoute to display differences between SVCs and NVCs
Summary: Changelog: [Internal] Reviewed By: RSNara Differential Revision: D33718142 fbshipit-source-id: d3a05503e7cc2b76a66a26376a47e4acdc30d514
1 parent 6360532 commit 0567fd0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Libraries/Utilities/verifyComponentAttributeEquivalence.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ export default function verifyComponentAttributeEquivalence(
6060
}
6161
}
6262

63+
// Return the different key-value pairs of the right object, by iterating through the keys in the left object
64+
// Note it won't return a difference where a key is missing in the left but exists the right.
6365
export function lefthandObjectDiff(leftObj: Object, rightObj: Object): Object {
6466
const differentKeys = {};
6567

0 commit comments

Comments
 (0)