Skip to content

fix: Clear stale size caches on data change#391

Open
LeviWilliams wants to merge 3 commits intoLegendApp:webfrom
LeviWilliams:bug/fix-stale-sizes
Open

fix: Clear stale size caches on data change#391
LeviWilliams wants to merge 3 commits intoLegendApp:webfrom
LeviWilliams:bug/fix-stale-sizes

Conversation

@LeviWilliams
Copy link

@LeviWilliams LeviWilliams commented Feb 3, 2026

First off thanks for all the work on the library, v3 is looking great 🚀

While testing the beta in our app I ran into blanking behaviour in a paginated list where data can shrink and grow again with items that contain the same keys. By simply clearing the size caches for stale keys when data changes I was able to resolve the problem. I'm sure you might have a more elegant solutions but this fixed the issue for me.

This might not be related to only v3 but just aimed at this branch anyways.

Before After
before.fix.mov
after.fix.mov

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4195e0593b

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@LeviWilliams
Copy link
Author

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant