Replies: 1 comment 6 replies
-
@markerikson, could you please take a look? I've been hoping to get some pointers for this for quite a while now. Or is it not the right place for this kind of question? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone!
Maybe I've missed something, but I haven't found this case in the docs:
Let's say I already have some data that I want to put in the cache upfront and use it on the first render from the same
useSomeQuery
hook. In short, I'm looking for something like https://react-query.tanstack.com/guides/initial-query-data in React Query. What would be an equivalent way of doing this in RTK Query? Or is this pattern isn't a good choice for RTK Query?Beta Was this translation helpful? Give feedback.
All reactions