Core Concepts

Caching and identity

Use stable ids and cache entries to reuse runtime state safely.

What it means

Factory and id services assign and track ids so repeated access can reuse existing entries instead of recreating them.

Practical value

Stable identity reduces duplication, improves performance, and prevents memory churn.

Key points