Skip to content

Commit aeab006

Browse files
committed
Rewrite profile enrichment with immutable updates and cache repair
Three fixes: - Use immutable deep-clone (deepEnrich) instead of in-place mutation so React properly detects changes in nested structures like InfiniteData<{pages: [{follows: [...]}]}> - Add repairPersistedCache() to detect and remove corrupted persisted query data (arrays turned into {0:..., 1:...} objects) on startup - Batch all enrichments into a single applyEnrichments call per batch to minimize setQueryData calls
1 parent f8f71d1 commit aeab006

1 file changed

Lines changed: 172 additions & 189 deletions

File tree

0 commit comments

Comments
 (0)