pre fetch serveral prodecures dynamically
Hello!. I'm developing a React Native app which needs an offline mode for some assets that the user wants (like spotify albums or playlists).
I have an endpoint that tells me which assets to download and for which procedures, so I can rehydrate those react query procedures in Offline Mode.
The feature is working but I had to @ts-ignore, I'm trying to annotate this feature correctly.
The assestToDownload produre returns this type.
I prefetch data using a client and storing it to an offline database
I re hydrate using setData like this
0 Replies