Pattern
Private cache reset
Clear user-scoped client data when the session changes; server revocation remains independent.
Formal Syntax & Structure
react syntaxreact
invalidate session-scoped dataWorking Example
Example Snippetreact
Clear booking cache on logout.