{"id":13796594,"url":"https://github.com/fabiospampinato/unstated-hmr","last_synced_at":"2025-05-13T00:30:56.632Z","repository":{"id":57386889,"uuid":"151108241","full_name":"fabiospampinato/unstated-hmr","owner":"fabiospampinato","description":"Preserve containers' states across Hot-Module-Replacements.","archived":true,"fork":false,"pushed_at":"2018-12-06T20:06:05.000Z","size":33,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-29T16:05:50.779Z","etag":null,"topics":["hmr","hot-module-replacement","react","unstated"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/fabiospampinato.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-10-01T15:05:41.000Z","updated_at":"2023-12-11T16:14:05.000Z","dependencies_parsed_at":"2022-09-13T03:01:41.406Z","dependency_job_id":null,"html_url":"https://github.com/fabiospampinato/unstated-hmr","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/fabiospampinato%2Funstated-hmr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Funstated-hmr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Funstated-hmr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Funstated-hmr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabiospampinato","download_url":"https://codeload.github.com/fabiospampinato/unstated-hmr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225159872,"owners_count":17430200,"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":["hmr","hot-module-replacement","react","unstated"],"created_at":"2024-08-03T23:01:12.293Z","updated_at":"2024-11-18T10:31:27.822Z","avatar_url":"https://github.com/fabiospampinato.png","language":"TypeScript","funding_links":[],"categories":["Packages"],"sub_categories":[],"readme":"# Unstated HMR\n\nPreserve containers' states across Hot-Module-Replacements.\n\n## Install\n\n```sh\nnpm install --save unstated-hmr\n```\n\n## Usage\n\n```ts\nimport HMR from 'unstated-hmr'; // Just load the library before initializing the containers\n\nHMR.isEnabled = IS_DEVELOPMENT;\n```\n\n## Related\n\n- **[unstated-with-containers](https://github.com/fabiospampinato/unstated-with-containers)**: Higher-Order Component for subscribing to containers.\n- **[unstated-connect2](https://github.com/fabiospampinato/unstated-connect2)**: Connect containers to components, without sacrificing performance.\n- **[unstated-compose](https://github.com/fabiospampinato/unstated-compose)**: Compose multiple containers into one.\n- **[unstated-compose-suspense](https://github.com/fabiospampinato/unstated-compose-suspense)**: Add suspend/unsuspend support to `unstated-compose`.\n- **[unstated-compose-suspense-middleware](https://github.com/fabiospampinato/unstated-compose-suspense-middleware)**: Add middlewares support to `unstated-compose-suspense`.\n- **[unstated-suspense](https://github.com/fabiospampinato/unstated-suspense)**: Suspend/unsuspend updates propagation from your containers.\n- **[unstated-suspense-middleware](https://github.com/fabiospampinato/unstated-suspense-middleware)**: Add middlewares support to `unstated-suspense`.\n\n## License\n\nMIT © Fabio Spampinato\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiospampinato%2Funstated-hmr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabiospampinato%2Funstated-hmr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiospampinato%2Funstated-hmr/lists"}