- old shallowEqual is now shallowEqualObjects - new shallowEqual supports objects, primitives and arrays