Thanks to @hirbod i randomly landed [on this tweet](https://twitter.com/hirbod_dev/status/1765474780633788823). we should use `tanstack-query` with `query-async-storage-persister` as a dev, I can improve my knowledge of offline first app, so that I can use `@tanstack/query-async-storage-persister` --- - [ ] Update `StarshipCard` > `handleBuy` to return `<Text>payment in process</Text>` - [ ] Udpate data-02 challenge to use only `Netinfo` - [ ] Create a new data-03 challenge with the instruction for `query-async-storage-persister` - [ ] for the api endpoint we could use a service like https://mockaroo.com/ to store the `StarshipCard` data **References**: - https://tanstack.com/query/latest/docs/framework/react/plugins/createAsyncStoragePersister#installation - https://dev.to/fedorish/react-native-offline-first-with-tanstack-query-1pe5
Thanks to @hirbod i randomly landed on this tweet.
we should use
tanstack-querywithquery-async-storage-persisteras a dev,
I can improve my knowledge of offline first app,
so that I can use
@tanstack/query-async-storage-persisterStarshipCard>handleBuyto return<Text>payment in process</Text>Netinfoquery-async-storage-persisterStarshipCarddataReferences: