single source of truth
noun
- Keeping each piece of data in exactly one authoritative place and deriving everything else from it. The cart total lives in one store; the header badge and checkout page both read from it.
In plain words
- data is out of sync between components
- two copies of the same state
- the UI shows different values in different places
See also derived state cache invalidation