Replies: 1 comment 2 replies
-
Hi 👋 Have you seen the example in the documentation? Please see: https://tanstack.com/query/v4/docs/react/plugins/createAsyncStoragePersister#usage This demonstrates how to use Hopefully this helps 🙂 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey @TkDodo thanks for the awesome library.
I am wondering how does the background fetching of data works.
So I want to make my own storage persister where I'll load data from AsycStorage in my react-native app and then update the data from api call by using react-query.
This way the initial render will be faster.
I know that
@tanstack/query-async-storage-persister
is there but I am just looking for a simple implementation on one of my screens.Any help with the same? Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions