{"id":17030677,"url":"https://github.com/pavi2410/usecompose","last_synced_at":"2025-04-12T12:12:14.915Z","repository":{"id":43747245,"uuid":"438247488","full_name":"pavi2410/useCompose","owner":"pavi2410","description":"Headless @Composable hooks that drive UI logic. Inspired by TanStack \u0026 React.","archived":false,"fork":false,"pushed_at":"2024-03-05T02:16:30.000Z","size":166,"stargazers_count":27,"open_issues_count":7,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T12:12:10.234Z","etag":null,"topics":["android","android-library","composable","compose","headless","hooks","jetpack-compose","kotlin","library","react","react-hooks","ui"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/pavi2410.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}},"created_at":"2021-12-14T12:38:13.000Z","updated_at":"2024-10-24T17:21:14.000Z","dependencies_parsed_at":"2022-09-24T08:22:56.445Z","dependency_job_id":null,"html_url":"https://github.com/pavi2410/useCompose","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavi2410%2FuseCompose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavi2410%2FuseCompose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavi2410%2FuseCompose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavi2410%2FuseCompose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pavi2410","download_url":"https://codeload.github.com/pavi2410/useCompose/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565078,"owners_count":21125417,"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":["android","android-library","composable","compose","headless","hooks","jetpack-compose","kotlin","library","react","react-hooks","ui"],"created_at":"2024-10-14T08:07:52.817Z","updated_at":"2025-04-12T12:12:14.892Z","avatar_url":"https://github.com/pavi2410.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# useCompose\n\nHeadless @Composable hooks that drive UI logic. Inspired by React. \n\n[![](https://jitpack.io/v/pavi2410/useCompose.svg)](https://jitpack.io/#pavi2410/useCompose) [![CI](https://github.com/pavi2410/useCompose/actions/workflows/ci.yml/badge.svg)](https://github.com/pavi2410/useCompose/actions/workflows/ci.yml)\n\n| ⚛ `react` | ❓ `query` |\n| --- | --- |\n| ![react example](https://github.com/pavi2410/useCompose/assets/28837746/0a271bda-fc47-47b3-8cb6-daf6748a2633) | ![query example](https://github.com/pavi2410/useCompose/assets/28837746/2317d447-8f8b-4626-b92e-2e024e242714) |\n\n\n## Modules\n\n### ⚛ react\n- useState\n- useEffect\n- useContext\n- useReducer\n\n### 🪝 hooks\n- useToggle\n\n### 🕸 network\n- useConnnectionStatus\n\n### ❓ query\n- useQuery\n\n## Installation\n\nStep 1. Add the JitPack repository to your build file \n\nAdd it in your root build.gradle at the end of repositories:\n```gradle\nrepositories {\n  ...\n  maven {\n    url = uri(\"https://jitpack.io\")\n  }\n}\n```\n\nStep 2. Add the dependency\n```gradle\ndependencies {\n  implementation(\"com.github.pavi2410.useCompose:\u003cmodule_name\u003e:\u003cversion\u003e\")\n}\n```\n\n## Help Wanted\n\nI want your help in making this library extensive such that this cover many of the commonly used hooks. Also, I want your help in building a KMP friendly library.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavi2410%2Fusecompose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpavi2410%2Fusecompose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavi2410%2Fusecompose/lists"}