{"id":18534798,"url":"https://github.com/atomicojs/storybook","last_synced_at":"2025-05-14T23:35:08.598Z","repository":{"id":59985322,"uuid":"526832768","full_name":"atomicojs/storybook","owner":"atomicojs","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-17T05:05:40.000Z","size":6556,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-30T09:53:45.230Z","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/atomicojs.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}},"created_at":"2022-08-20T05:18:09.000Z","updated_at":"2022-08-20T07:08:00.000Z","dependencies_parsed_at":"2024-03-17T05:32:14.463Z","dependency_job_id":"b310d3b6-c9ec-49a5-ac5b-9536f02f7412","html_url":"https://github.com/atomicojs/storybook","commit_stats":{"total_commits":135,"total_committers":3,"mean_commits":45.0,"dds":"0.12592592592592589","last_synced_commit":"e5b0f47e0f6214ea80fc718299c1f866be695cdb"},"previous_names":[],"tags_count":48,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicojs%2Fstorybook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicojs%2Fstorybook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicojs%2Fstorybook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicojs%2Fstorybook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atomicojs","download_url":"https://codeload.github.com/atomicojs/storybook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253223529,"owners_count":21873802,"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-11-06T19:16:59.187Z","updated_at":"2025-05-14T23:35:08.551Z","avatar_url":"https://github.com/atomicojs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @atomico/storybook\n\nAllows projects to render projects with virtualDOM\n\n## Setup\n\ncreate .storybook/preview file and add the following script.\n\n```js\nimport { decorator } from \"@atomico/storybook\";\n\nexport const decorators = [decorator];\n```\n\n## how to disable hmr? (Optional)\n\nCreate the file .storybook/disable-hmr.js and add the following script.\n\n```js\nif (module \u0026\u0026 module.hot \u0026\u0026 module.hot.decline) {\n    console.log(module);\n    module.hot.decline();\n    const hmr = new EventSource(\"__webpack_hmr\");\n    hmr.addEventListener(\"message\", function fullPageReload(event) {\n        try {\n            const { action } = JSON.parse(event.data);\n            if (action === \"built\") {\n                location.reload();\n            }\n        } catch (error) {}\n    });\n}\n```\n\n## render compatibility\n\n-   [x] atomico\n-   [x] @atomico/lit-html\n-   [x] @atomico/uhtml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomicojs%2Fstorybook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatomicojs%2Fstorybook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomicojs%2Fstorybook/lists"}