Concepts

Object identity in React data

Strict equality on objects tests whether operands refer to the same object. Immutable updates create replacement references for changed paths.

Formal Syntax & Structure

react syntaxreact
Object identity in React data

Working Example

Example Snippetreact
const a = {}; const b = {}; console.log(a === b);
React Reference