{"id":23682652,"url":"https://github.com/pj-mill/reactquery","last_synced_at":"2026-04-10T23:02:56.359Z","repository":{"id":195999411,"uuid":"690054593","full_name":"pj-mill/ReactQuery","owner":"pj-mill","description":"A few examples of using react query (tanstack)","archived":false,"fork":false,"pushed_at":"2023-09-20T10:02:33.000Z","size":545,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-29T19:52:47.728Z","etag":null,"topics":["react","tanstack-react-query"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pj-mill.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-11T12:51:15.000Z","updated_at":"2024-01-10T10:24:34.000Z","dependencies_parsed_at":"2023-09-21T00:19:58.364Z","dependency_job_id":null,"html_url":"https://github.com/pj-mill/ReactQuery","commit_stats":null,"previous_names":["apollo013/reactquery","pj-mill/reactquery"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pj-mill%2FReactQuery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pj-mill%2FReactQuery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pj-mill%2FReactQuery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pj-mill%2FReactQuery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pj-mill","download_url":"https://codeload.github.com/pj-mill/ReactQuery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239734508,"owners_count":19688256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["react","tanstack-react-query"],"created_at":"2024-12-29T19:53:01.681Z","updated_at":"2026-01-04T03:30:12.372Z","avatar_url":"https://github.com/pj-mill.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReactQuery\n\n3 apps demonstrating React Query (Tanstack) features.\n\n### Blog App\n\nUsing jsonplaceholder API, this app demonstrates ...\n\n1. Creating a QueryClient \u0026 QueryClientProvider\n2. Implementing useQuery while using isLoading / isFetching / isSuccess / isError \u0026 error objects\n3. Configuring 'staletime'\n4. Pagination \u0026 Prefetching\n5. Implementing useMutation for updates \u0026 deletes\n\n### Star Wars App\n\nUsing swapi API, this app demonstrates JIT fetching for infinite scrolling.\n\n### Spa Treatment\n\nA small app for creating appointments that demonstrates ...\n\n1. Manually caching data with setQueryData\n2. Clearing data using removeQueries\n3. Polling using the refetchInterval option\n4. Prefetching Data\n5. Mutating data with useMutation\n6. Invalidating data with invalidateQueries\n7. useCallback, useEffect hooks\n8. Optimistic Updates\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpj-mill%2Freactquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpj-mill%2Freactquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpj-mill%2Freactquery/lists"}