Skip to content

Improve the cache api #249

Answered by tannerlinsley
focux asked this question in General
Mar 14, 2020 · 8 comments · 10 replies
Discussion options

You must be logged in to vote

The bottom line here is that once you start normalizing, you start making decisions that incur tradeoffs of performance or built-in staleness. You're more than welcome to implement whatever manual operations with the query cache that you want using queryCache.setQueryData or similar utilities, but for now, no built-in mechanisms or affordances for normalized caching will be built in or native to React Query.

Replies: 8 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jackblackCH
Comment options

Answer selected by tannerlinsley
Comment options

You must be logged in to vote
5 replies
@tannerlinsley
Comment options

@SeanRoberts
Comment options

@SeanRoberts
Comment options

@jackblackCH
Comment options

@longfellowone
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@leetrout
Comment options

@rattrayalex
Comment options

@jackblackCH
Comment options

@klis87
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet