{"id":23222961,"url":"https://github.com/dckt/rescript-react-query","last_synced_at":"2026-02-16T20:33:41.707Z","repository":{"id":223611864,"uuid":"760365756","full_name":"DCKT/rescript-react-query","owner":"DCKT","description":"Bindings for react-query library","archived":false,"fork":false,"pushed_at":"2024-02-21T10:26:55.000Z","size":77,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T16:35:03.649Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"ReScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DCKT.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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-02-20T09:34:01.000Z","updated_at":"2024-08-19T11:12:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa496f1e-f275-472f-81ba-7fa294704efd","html_url":"https://github.com/DCKT/rescript-react-query","commit_stats":null,"previous_names":["dckt/rescript-react-query"],"tags_count":4,"template":false,"template_full_name":"DCKT/rescript-bindings-template","purl":"pkg:github/DCKT/rescript-react-query","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCKT%2Frescript-react-query","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCKT%2Frescript-react-query/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCKT%2Frescript-react-query/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCKT%2Frescript-react-query/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DCKT","download_url":"https://codeload.github.com/DCKT/rescript-react-query/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCKT%2Frescript-react-query/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014764,"owners_count":26085593,"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-10-13T02:00:06.723Z","response_time":61,"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":"2024-12-18T23:15:32.481Z","updated_at":"2025-10-13T11:17:22.451Z","avatar_url":"https://github.com/DCKT.png","language":"ReScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rescript-react-query\n\nReScript bindings for [@tanstack/react-query](https://tanstack.com/query/latest) (targeted version : `^5.22.2`)\n\n## Setup\n\n1. Install the module\n\n```bash\nbun install @dck/rescript-react-query\n# or\nyarn install @dck/rescript-react-query\n# or\nnpm install @dck/rescript-react-query\n```\n\nℹ️ Remember to install `@tanstack/react-query-devtools` module if you want to use `ReactQueryDevtools`.\n\n2. Add it to your `rescript.json` config\n\n```json\n{\n  \"bs-dependencies\": [\"@dck/rescript-react-query\"]\n}\n```\n\n## Usage\n\nThe functions can be accessed through `ReactQuery` module.\n\n### [Simple](https://github.com/DCKT/rescript-react-query/blob/main/examples/src/Simple.res)\n\n### [Basic](https://github.com/DCKT/rescript-react-query/blob/main/examples/src/Basic.res)\n\n### [OptimisticUpdate](https://github.com/DCKT/rescript-react-query/blob/main/examples/src/OptimisticUpdate.res)\n\n### [ReactSuspense](https://github.com/DCKT/rescript-react-query/blob/main/examples/src/ReactSuspense.res)\n\n### Basic\n\n## Development\n\nInstall deps\n\n```bash\nbun install\n```\n\nCompiles files\n\n```bash\nbun run dev\n```\n\nRun tests through examples\n\n```bash\nbun run examples\n```\n\nRun local webserver\n\n```bash\nbun run examples-server\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdckt%2Frescript-react-query","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdckt%2Frescript-react-query","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdckt%2Frescript-react-query/lists"}