Skip to content
Source
Sign inSign up
TanStack/table

fix: invalidate cached values after updating accessor functions #5582

Closedtakoshi(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/5582/headopened

What's this PR

https://github.com/TanStack/table/issues/5363

The above issue reported that getValues returns stale cached values after changing accessor functions.

This PR fixes it.

8cd8449: add unit tests f66f4e6: accessor functions are also held as cache, and it determines whether the cached data are fresh or stale.

    1. Would love to see this merged!

    2. @tannerlinsley can we get some eyes on this? :)

    3. Hi @tannerlinsley, may you have a look at this one?

    4. @KevinVandy , (sorry to tag, saw you're active merging fixes on this repo) is it possible to get a review on this PR? I'm running into this problem and would like to avoid running a fork if this has a path to merge to main

    5. I feel like I'm also running into this one fwiw.

    6. Any news on this ? Any workaround maybe ? We're getting into the same issue.

    7. KevinVandy closed this

Sign in to join this conversation.