{"id":18609699,"url":"https://github.com/unlight/ref-holder","last_synced_at":"2025-11-02T20:30:27.706Z","repository":{"id":57352008,"uuid":"136708927","full_name":"unlight/ref-holder","owner":"unlight","description":"Friendly util function for holding reference to element for react-like frameworks","archived":false,"fork":false,"pushed_at":"2018-06-09T18:03:26.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-27T04:12:06.619Z","etag":null,"topics":["element-react","react-helpers","react-like"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/unlight.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":"2018-06-09T09:21:24.000Z","updated_at":"2018-06-09T18:03:27.000Z","dependencies_parsed_at":"2022-08-28T19:11:08.696Z","dependency_job_id":null,"html_url":"https://github.com/unlight/ref-holder","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Fref-holder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Fref-holder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Fref-holder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Fref-holder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unlight","download_url":"https://codeload.github.com/unlight/ref-holder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239400596,"owners_count":19632049,"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":["element-react","react-helpers","react-like"],"created_at":"2024-11-07T03:07:00.320Z","updated_at":"2025-11-02T20:30:27.664Z","avatar_url":"https://github.com/unlight.png","language":"JavaScript","readme":"ref-holder\n===\nFriendly util function for holding reference to element for react-like frameworks\n\nINSTALL\n---\n```\nnpm install --save ref-holder\n```\n\nUSAGE\n---\n```tsx\nimport { refHolder } from 'ref-holder';\n\nconst inputElementHolder = refHolder\u003cHTMLInputElement\u003e();\nrender(\u003cinput type=\"text\" name=\"name\" value=\"jimbo\" ref={inputElementHolder} /\u003e, document.body);\nconsole.log(inputElementHolder.ref); // \u003cinput\u003e\nconsole.log(inputElementHolder.ref.value); // 'jimbo'\n```\n\nCHANGELOG\n---\nSee [CHANGELOG.md](CHANGELOG.md)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlight%2Fref-holder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funlight%2Fref-holder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlight%2Fref-holder/lists"}