Documentation
README
Choosing derivedStateOf — Filter Hot Inputs into Cold Outputs
derivedStateOf produces a State whose readers only invalidate when the derived result changes, even if the input states change far more often. Use it when input frequency exceeds output frequency. Use it for any other shape and it is pure overhead — an extra snapshot subscription with no filtering benefit. This skill teaches Claude when to reach for it, when to refuse, and how to avoid the canonical capture-by-initial-value pitfall.
When to use this skill
This is the opening of the README. Read the full README on GitHub.