Type-safe localStorage with versioning and error handling.
Best practices:
userConfig:v1) for schema evolutionWhen schema changes, migrate old data:
Only store what the UI needs—not full server responses:
Never store sensitive data:
Always handle errors:
Use versioned keys:
For more detailed technical guidance, see these reference files: