Skip to main content

5 docs tagged with "Diffing"

View All Tags

Diffing

Diffing is defined as: React Heuristic Algorithm to reconcile change in state vs view & handle update to DOM API. Topics on: internal state = VDOM, view = DOM A

key

key is defined as: special props as string UID for VDOM to track/Diffing list elements. Topics on: Math.random() key are unstable & may hurt perf!, key should b

React diff 2 assumptions:

React diff 2 assumptions:. Topics on: Elements of different type produce different trees, Elements with key prop are Stable Variable. Read more: React, React Co

Reconciliation

Reconciliation is defined as: (process) (before Commit Phase) to compare Fiber stored in previous update vs new render. Topics on: to efficiently decide which u

VDOM Diffing Flow

VDOM Diffing Flow. Topics on: Create & store VDOM & DOM Tree in Memory, Update state changes in VDOM, Reconciliation of VDOM vs DOM API. Read more: React, React