{"id":19604690,"url":"https://github.com/victorvoid/reagent-hooks","last_synced_at":"2026-06-10T13:31:07.673Z","repository":{"id":89705943,"uuid":"160998757","full_name":"victorvoid/reagent-hooks","owner":"victorvoid","description":"A collection of Reagent Hooks ","archived":false,"fork":false,"pushed_at":"2018-12-09T03:22:07.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-26T16:19:38.436Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/victorvoid.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":"2018-12-09T02:59:13.000Z","updated_at":"2018-12-09T03:22:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d87f94e-9838-4f98-9e3d-f997b896bac0","html_url":"https://github.com/victorvoid/reagent-hooks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/victorvoid/reagent-hooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorvoid%2Freagent-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorvoid%2Freagent-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorvoid%2Freagent-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorvoid%2Freagent-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victorvoid","download_url":"https://codeload.github.com/victorvoid/reagent-hooks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorvoid%2Freagent-hooks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34155422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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-11-11T09:37:51.964Z","updated_at":"2026-06-10T13:31:07.656Z","avatar_url":"https://github.com/victorvoid.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reagent-hooks\nA collection of reagent hooks.\n\n\n## Installation\n\nTODO\n\n\n## How to use\n\n- [use-state](#use-state)\n- [use-effect](#use-effect)\n- [use-ref](#use-ref)\n- [use-reducer](#use-reducer)\n\n### use state\n```clojure\n(ns test.core\n  (:require [reagent-hooks.core :as rh]))\n\n(defn entry []\n  (let [[question, set-question] (rh/use-state \"What?\")\n        [answer, set-answer] (rh/use-state \"Nothing.\")]\n    [:div\n     [:h1 question]\n     [:p answer]\n     [:button {:on-click #(set-question \"What's your name?\")} \"change question\"]\n     [:button {:on-click #(set-answer \"My name is Victor\")} \"change answer\"]]))\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorvoid%2Freagent-hooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictorvoid%2Freagent-hooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorvoid%2Freagent-hooks/lists"}