--- name: client-side-cache-normalization description: Implement a normalized entity cache to maintain data consistency across a React app. --- # Client-Side Cache Normalization ## Summary Implement a normalized entity cache to maintain data consistency across a React app. ## Key Capabilities - Flatten nested API responses. - Automatic UI updates. - Garbage collect entities. ## PhD-Level Challenges - Handle polymorphic data types. - Resolve relationships. - Optimize read performance. ## Acceptance Criteria - Demonstrate consistency. - Provide a schema. - Benchmark retrieval speeds.