{"id":13450247,"url":"https://github.com/bdbch/react-devto","last_synced_at":"2025-07-05T00:06:22.821Z","repository":{"id":57105300,"uuid":"197915660","full_name":"bdbch/react-devto","owner":"bdbch","description":"Dev.to API hooks for React.js","archived":false,"fork":false,"pushed_at":"2020-07-09T21:24:29.000Z","size":1150,"stargazers_count":19,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-30T00:18:56.783Z","etag":null,"topics":["api","devto","hooks","react","react-hooks"],"latest_commit_sha":null,"homepage":"https://bdbch.github.io/react-devto/","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/bdbch.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":"2019-07-20T10:32:57.000Z","updated_at":"2022-02-16T21:07:03.000Z","dependencies_parsed_at":"2022-08-21T03:00:37.378Z","dependency_job_id":null,"html_url":"https://github.com/bdbch/react-devto","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/bdbch/react-devto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdbch%2Freact-devto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdbch%2Freact-devto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdbch%2Freact-devto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdbch%2Freact-devto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bdbch","download_url":"https://codeload.github.com/bdbch/react-devto/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdbch%2Freact-devto/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262823260,"owners_count":23370203,"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":["api","devto","hooks","react","react-hooks"],"created_at":"2024-07-31T07:00:32.690Z","updated_at":"2025-07-05T00:06:22.802Z","avatar_url":"https://github.com/bdbch.png","language":"TypeScript","readme":"# `@d2k/react-devto`\n\n\u003e React hooks for Dev.to integrations\n\n\u003e You'll need to install `react`, `react-dom`, etc at `^16.8.4`\n\n* [Demo](https://bdbch.github.io/react-devto/)\n\n## Install\n\n```sh\nnpm i @d2k/react-devto --save\n```\n\n# Usage\n\n```js\nimport {\n  useArticles,\n  useFollowSuggestions,\n  useTags,\n  useUser\n} from \"@d2k/react-devto\";\n\nconst MyComponent = () =\u003e {\n  // useArticles(page, tag, username)\n  const { articles, loading, error } = useArticles();\n\n  // useFollowSuggestions()\n  const { suggestions, loading, error } = useFollowSuggestions();\n\n  // useTags(page)\n  const { tags, loading, error } = useTags();\n\n  // useUser(username, id)\n  const { user, loading, error } = useUser(\"bdbch\");\n};\n```\n","funding_links":[],"categories":["Packages","TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdbch%2Freact-devto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbdbch%2Freact-devto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdbch%2Freact-devto/lists"}