{"id":29023066,"url":"https://github.com/bamlab/tanstack-query-detect-waterfall","last_synced_at":"2025-08-02T03:07:52.116Z","repository":{"id":239789940,"uuid":"800573653","full_name":"bamlab/tanstack-query-detect-waterfall","owner":"bamlab","description":"Detect waterfall on a tanstack query project","archived":false,"fork":false,"pushed_at":"2024-05-17T14:55:54.000Z","size":1047,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-26T03:05:11.772Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/bamlab.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-14T15:36:38.000Z","updated_at":"2024-12-18T12:42:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"da661e98-a130-4b97-8301-4bb2a186feae","html_url":"https://github.com/bamlab/tanstack-query-detect-waterfall","commit_stats":null,"previous_names":["bamlab/tanstack-query-detect-waterfall"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bamlab/tanstack-query-detect-waterfall","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2Ftanstack-query-detect-waterfall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2Ftanstack-query-detect-waterfall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2Ftanstack-query-detect-waterfall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2Ftanstack-query-detect-waterfall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bamlab","download_url":"https://codeload.github.com/bamlab/tanstack-query-detect-waterfall/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2Ftanstack-query-detect-waterfall/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268243329,"owners_count":24218692,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-06-26T03:05:13.958Z","updated_at":"2025-08-02T03:07:52.028Z","avatar_url":"https://github.com/bamlab.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tanstack-query-detect-waterfall\n\nAuto-detect query waterfalls in your Tanstack Query project.\n\nIf multiple queries are run in sequence instead of parallel, the plugin will warn you and suggest solutions to fix the issue. No need to open a network profiler, and it works for any async operation. This can prove especially useful with React Suspense to catch waterfall introductions immediately.\n\n# Example\n\n```ts\nconst queryClient = new QueryClient();\n\nif (__DEV__) {\n  const { detectQueryWaterfalls } = require(\"@bam.tech/tanstack-query-detect-waterfall\");\n  detectQueryWaterfalls(queryClient);\n}\n```\n\nIf you need to ignore dependent queries, you can do:\n\n```ts\ndetectQueryWaterfalls(queryClient, {\n  whitelist: [\n    { from: [\"myquerykey\", 1], to: [\"otherquerykey\", 2] },\n    { from: [\"yetanotherquerykey\"], to: [\"andalastone\"] },\n  ],\n});\n```\n\n# Installation\n\n```bash\nnpm install @bam.tech/tanstack-query-detect-waterfall --save-dev\n# or\npnpm add @bam.tech/tanstack-query-detect-waterfall --dev\n# or\nyarn add @bam.tech/tanstack-query-detect-waterfall --dev\n# or\nbun add @bam.tech/tanstack-query-detect-waterfall --dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbamlab%2Ftanstack-query-detect-waterfall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbamlab%2Ftanstack-query-detect-waterfall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbamlab%2Ftanstack-query-detect-waterfall/lists"}