Skip to content

migrate Offline challenge to offline first with React Query #227

@flexbox

Description

@flexbox

Thanks to @hirbod i randomly landed on this tweet.
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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions