{"id":18974332,"url":"https://github.com/alexandrebonaventure/vite-hmr-singleton-bug","last_synced_at":"2026-03-19T07:25:11.041Z","repository":{"id":42742670,"uuid":"281671565","full_name":"AlexandreBonaventure/vite-hmr-singleton-bug","owner":"AlexandreBonaventure","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-07T20:21:10.000Z","size":1108,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-30T03:42:50.508Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/AlexandreBonaventure.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}},"created_at":"2020-07-22T12:29:32.000Z","updated_at":"2020-07-22T12:34:27.000Z","dependencies_parsed_at":"2023-02-08T00:45:43.427Z","dependency_job_id":null,"html_url":"https://github.com/AlexandreBonaventure/vite-hmr-singleton-bug","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlexandreBonaventure/vite-hmr-singleton-bug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexandreBonaventure%2Fvite-hmr-singleton-bug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexandreBonaventure%2Fvite-hmr-singleton-bug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexandreBonaventure%2Fvite-hmr-singleton-bug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexandreBonaventure%2Fvite-hmr-singleton-bug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexandreBonaventure","download_url":"https://codeload.github.com/AlexandreBonaventure/vite-hmr-singleton-bug/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexandreBonaventure%2Fvite-hmr-singleton-bug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29488592,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T19:29:10.908Z","status":"ssl_error","status_checked_at":"2026-02-15T19:29:10.419Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-08T15:14:45.971Z","updated_at":"2026-02-15T20:33:39.331Z","avatar_url":"https://github.com/AlexandreBonaventure.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vite-hmr-singleton-bug\n\n## repro\n\n1. `yarn \u0026\u0026 yarn dev`\n2. Change this line and save: https://github.com/AlexandreBonaventure/vite-hmr-singleton-bug/blob/master/src/statefulSingleton.js#L3\n3. Then change this line and save: https://github.com/AlexandreBonaventure/vite-hmr-singleton-bug/blob/master/src/useStatefulSingleton.js#L4\n\n![before](https://github.com/AlexandreBonaventure/vite-hmr-singleton-bug/blob/master/public/before.png?raw=true)\n![after](https://github.com/AlexandreBonaventure/vite-hmr-singleton-bug/blob/master/public/after.png?raw=true)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandrebonaventure%2Fvite-hmr-singleton-bug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexandrebonaventure%2Fvite-hmr-singleton-bug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandrebonaventure%2Fvite-hmr-singleton-bug/lists"}