React performance
Reference identity
Object.is compares references for objects and functions rather than recursively comparing their contents.
Formal Syntax & Structure
react syntaxreact
Object.is({x:1}, {x:1}) // falseWorking Example
Example Snippetreact
Object.is({x:1}, {x:1}) // false