{"id":24445642,"url":"https://github.com/controlroom/wired-show","last_synced_at":"2026-07-07T05:31:33.341Z","repository":{"id":81347879,"uuid":"139999778","full_name":"controlroom/wired-show","owner":"controlroom","description":"(merge wire show)","archived":false,"fork":false,"pushed_at":"2018-07-06T20:44:35.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T23:36:24.419Z","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/controlroom.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-07-06T15:13:30.000Z","updated_at":"2018-07-06T20:44:37.000Z","dependencies_parsed_at":"2023-03-31T11:34:37.465Z","dependency_job_id":null,"html_url":"https://github.com/controlroom/wired-show","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/controlroom%2Fwired-show","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/controlroom%2Fwired-show/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/controlroom%2Fwired-show/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/controlroom%2Fwired-show/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/controlroom","download_url":"https://codeload.github.com/controlroom/wired-show/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243526860,"owners_count":20305112,"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":"2025-01-20T23:29:58.177Z","updated_at":"2025-10-28T19:42:44.373Z","avatar_url":"https://github.com/controlroom.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Wired Show**\n\nWire up Show dom elements.\n\n## Simple usage\n\n```clojure\n(ns basic-wired.core\n  (:require\n    [show.core       :as show]\n    [show.dom        :as dom]\n    [wired-show.dom  :as wired]\n    [wire.core       :as w]))\n\n(show/defcomponent Widget [component]\n  (render [{:keys [selected wire name]} _]\n    (dom/div\n      (wired/button wire name)\n      (when selected\n        (dom/p \"You Selected me!\")))))\n\n(defn tapped-widget-wire [component]\n  (w/tap (w/wire)\n    :mouse-click #(show/assoc! component :selected-widget (:id %))))\n\n(show/defcomponent App [component]\n  (initial-state\n    {:selected-widget nil\n     :widgets (for [i (range 20)] {:id i\n                                   :name (str \"widget-\" i)})\n     :wire (tapped-widget-wire component)})\n  (render [_ {:keys [widgets wire selected-widget]}]\n    (map (fn [{:keys [name id]}]\n           (Widget {:key id\n                    :wire (w/lay wire nil {:id id})\n                    :selected (= selected-widget id)\n                    :name name}))\n      widgets)))\n\n(show/render-to-dom\n  (App)\n  (.getElementById js/document \"app\"))\n```\n\n## License\n\nCopyright © 2018 controlroom.io\n\nDistributed under the Eclipse Public License either version 1.0 or (at\nyour option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontrolroom%2Fwired-show","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontrolroom%2Fwired-show","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontrolroom%2Fwired-show/lists"}