{"id":21369009,"url":"https://github.com/w3cj/use-x","last_synced_at":"2025-07-13T05:32:43.169Z","repository":{"id":258410948,"uuid":"873877443","full_name":"w3cj/use-x","owner":"w3cj","description":"Practice implementing custom react hooks with full test suites and examples.","archived":false,"fork":false,"pushed_at":"2024-10-17T14:23:16.000Z","size":70,"stargazers_count":16,"open_issues_count":4,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T03:08:36.093Z","etag":null,"topics":["check-list","custom-hooks","hooks","react","react-fetch","react-fetch-hooks","react-test-suite","test-suite","usefetch"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/watch?v=GDXsuoisg60","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/w3cj.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-10-16T21:52:27.000Z","updated_at":"2025-01-26T07:30:57.000Z","dependencies_parsed_at":"2024-10-18T21:58:00.322Z","dependency_job_id":"26863959-f2a9-49f1-96cc-79b161e6db96","html_url":"https://github.com/w3cj/use-x","commit_stats":null,"previous_names":["w3cj/use-x"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/w3cj/use-x","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3cj%2Fuse-x","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3cj%2Fuse-x/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3cj%2Fuse-x/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3cj%2Fuse-x/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/w3cj","download_url":"https://codeload.github.com/w3cj/use-x/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3cj%2Fuse-x/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265094893,"owners_count":23710568,"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":["check-list","custom-hooks","hooks","react","react-fetch","react-fetch-hooks","react-test-suite","test-suite","usefetch"],"created_at":"2024-11-22T07:29:45.657Z","updated_at":"2025-07-13T05:32:42.903Z","avatar_url":"https://github.com/w3cj.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# use-x\n\nPractice implementing custom react hooks with full test suites and examples.\n\n## Hooks\n\n- [useFetch](./src/use-fetch)\n  - Manage the error, loading and data state of `fetch`\n\n## Setup\n\nInstall dependencies\n\n```sh\npnpm i\n```\n\n## Enable tests\n\nAll tests are skipped by default. To enable a test, remove `.skip`\n\n```diff\n- it.skip(\"should test the hook\", async () =\u003e {\n+ it(\"should test the hook\", async () =\u003e {\n  // codes here\n});\n```\n\nRun all tests\n\n```sh\npnpm test\n```\n\nRun a specific test suite\n\n```sh\npnpm test ./src/path/to/test/file/use-hook.test.ts\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw3cj%2Fuse-x","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fw3cj%2Fuse-x","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw3cj%2Fuse-x/lists"}