Skip to content

invalidateAccessorCache

Since v2.2.0

Invalidate cached accessor values for a row (after in-place mutation), a single (row, field) pair, or — when called with no argument — clear the entire cache. Immutable updates auto-invalidate via row identity.

Edit/transaction paths that mutate row objects in-place must call this.

function invalidateAccessorCache(row: object, field: string): void
NameTypeDescription
rowobject
fieldstring