{"id":19614799,"url":"https://github.com/leancloud/react-hook-demo","last_synced_at":"2025-04-28T01:32:18.357Z","repository":{"id":66228610,"uuid":"180157571","full_name":"leancloud/react-hook-demo","owner":"leancloud","description":"A React hook demo with backend data store.","archived":false,"fork":false,"pushed_at":"2025-03-11T23:49:56.000Z","size":963,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T04:51:18.625Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/leancloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2019-04-08T13:41:01.000Z","updated_at":"2022-03-07T01:43:46.000Z","dependencies_parsed_at":"2023-02-20T20:00:59.731Z","dependency_job_id":null,"html_url":"https://github.com/leancloud/react-hook-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leancloud%2Freact-hook-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leancloud%2Freact-hook-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leancloud%2Freact-hook-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leancloud%2Freact-hook-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leancloud","download_url":"https://codeload.github.com/leancloud/react-hook-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251234140,"owners_count":21556787,"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":[],"created_at":"2024-11-11T10:53:49.313Z","updated_at":"2025-04-28T01:32:18.336Z","avatar_url":"https://github.com/leancloud.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"这是一个演示 React hooks 的 demo。用到 [LeanCloud](https://leancloud.cn) 做数据存储。\n\n相关的代码主要在 [`src/App.js`](src/App.js)。可以在本地用 `npm start` 来运行项目，也可以访问[这个链接](https://hook-demo.netlify.com/)。\n\n注意这个项目使用的是 LeanCloud 的一个开发版应用，在测试的人多时可能会因为超出请求数限制而出错。如果要基于它做进一步开发，建议尽快替换自己的 AppId 和 AppKey。\n\n这是个简单的 Todo list, 可以添加新的项目，点击项目可以标记为完成。\n\n这个 demo 有一个配套教程：[快速入门 React hooks + 后端集成](https://nextfe.com/react-hooks/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleancloud%2Freact-hook-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleancloud%2Freact-hook-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleancloud%2Freact-hook-demo/lists"}