{"id":18358892,"url":"https://github.com/uppercod/microfrontend","last_synced_at":"2025-06-11T02:04:47.193Z","repository":{"id":113251282,"uuid":"227038963","full_name":"UpperCod/microfrontend","owner":"UpperCod","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-12T12:50:42.000Z","size":976,"stargazers_count":1,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T03:58:32.248Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://uppercod.github.io/microfrontend/dist/","language":"JavaScript","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/UpperCod.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":"2019-12-10T05:48:42.000Z","updated_at":"2020-05-08T19:47:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"0c1ce658-1159-4d8a-9fbc-c2413ec8ef4b","html_url":"https://github.com/UpperCod/microfrontend","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpperCod%2Fmicrofrontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpperCod%2Fmicrofrontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpperCod%2Fmicrofrontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpperCod%2Fmicrofrontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UpperCod","download_url":"https://codeload.github.com/UpperCod/microfrontend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpperCod%2Fmicrofrontend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259184739,"owners_count":22818266,"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-05T22:19:50.181Z","updated_at":"2025-06-11T02:04:47.174Z","avatar_url":"https://github.com/UpperCod.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @atomico/microfrontend\n\n## Orchestrator example\n\n```jsx\nimport { h, customElement } from \"atomico\";\nimport { Container, Sandbox, preact, vue } from \"@atomico/microfrontend\";\n\n// Create a container to use preact\nlet App1 = Container(() =\u003e import(\"./team-1/app\"), preact);\n// Create a sandbox to use vue\nlet App2 = Sandbox(() =\u003e import(\"./team-2/app\"), vue);\n\nfunction MyApp() {\n  function handler(message) {\n    console.log(message); // from preact . . . from vue\n  }\n  return (\n    \u003chost\u003e\n      microfrontend apps!\n      \u003cApp1 anyHandler={handler} /\u003e\n      \u003cApp2 anyHandler={handler} /\u003e\n    \u003c/host\u003e\n  );\n}\n```\n\n## sandbox rules\n\nThe sandbox is a separate document that assimilates the execution of all the code associated with the sandbox, this allows to keep styles and js global without conflict, but does not allow a manipulation on `window.location`, to achieve this you must pass`location` as A prop for the sandbox.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuppercod%2Fmicrofrontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuppercod%2Fmicrofrontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuppercod%2Fmicrofrontend/lists"}