NervJS / nerv

A blazing fast React alternative, compatible with IE8 and React 16.
https://nerv.aotu.io
MIT License
5.42k stars 267 forks source link

fix: shallowEqual(null, null) shold be true #167

Open taichiyi opened 3 years ago

taichiyi commented 3 years ago

因为 严格相等(===) 和 同值相等(Object.is) 都为 true ,所以 shallowEqual(null, null) 也应该为 true

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 94.172% when pulling 3371308822ae77d6e71dcd9ed2b624bc0b31a415 on taichiyi:shallowEqual-fix into aaa405e79de5926e30ff07a0bb1b94dc994e9446 on NervJS:master.