shallowCompare
Shallow compares two objects using a list of provided property keys to enumerate the values.
null
and undefined
are considered equal for the purposes of the comparison.
A strict equality comparison is used for truthy property values.