{"id":17347260,"url":"https://github.com/rodentman87/react-svg-dedupe","last_synced_at":"2025-03-27T11:19:47.115Z","repository":{"id":237428604,"uuid":"612501846","full_name":"Rodentman87/react-svg-dedupe","owner":"Rodentman87","description":"SVG De-duplicator for React!","archived":false,"fork":false,"pushed_at":"2023-03-11T06:09:20.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T15:45:02.314Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Rodentman87.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":"2023-03-11T06:03:35.000Z","updated_at":"2024-07-15T14:52:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"f7cc1315-bad8-4e82-a002-ead44442f6ab","html_url":"https://github.com/Rodentman87/react-svg-dedupe","commit_stats":null,"previous_names":["rodentman87/react-svg-dedupe"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rodentman87%2Freact-svg-dedupe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rodentman87%2Freact-svg-dedupe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rodentman87%2Freact-svg-dedupe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rodentman87%2Freact-svg-dedupe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rodentman87","download_url":"https://codeload.github.com/Rodentman87/react-svg-dedupe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245832746,"owners_count":20679702,"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-10-15T16:48:09.634Z","updated_at":"2025-03-27T11:19:47.102Z","avatar_url":"https://github.com/Rodentman87.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deduped SVG\n\nDeduped SVG moves svgs out of the normal flow of the document and instead places it in a single location and renders a reference to it in place. To use the library, simply add a `DedupedSVGRenderer` at the top level of your app as the _very_ last thing rendered, and then render the deduped svgs like this:\n\n```tsx\n\u003cDedupedSVG id=\"icon-home\"\u003e\n\t\u003csvg\u003e{/* inside */}\u003c/svg\u003e\n\u003c/DedupedSVG\u003e\n```\n\nAll instances of DedupedSVG with the same `id` will instead be replaced with a reference to the single SVG being rendered.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodentman87%2Freact-svg-dedupe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodentman87%2Freact-svg-dedupe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodentman87%2Freact-svg-dedupe/lists"}