{"id":21569519,"url":"https://github.com/brucearmstrong007/angular-signals-sharedworkers","last_synced_at":"2026-05-21T04:02:31.469Z","repository":{"id":134649981,"uuid":"610775506","full_name":"BruceArmstrong007/Angular-Signals-SharedWorkers","owner":"BruceArmstrong007","description":"Angular@next-v16  Trying out Shared Worker with Signals ","archived":false,"fork":false,"pushed_at":"2023-03-08T10:49:34.000Z","size":216,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T12:32:35.631Z","etag":null,"topics":["angular","angularv16","portals","sharedworkers","signals"],"latest_commit_sha":null,"homepage":"","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/BruceArmstrong007.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-07T13:09:54.000Z","updated_at":"2023-03-07T13:31:52.000Z","dependencies_parsed_at":"2023-03-26T15:10:32.401Z","dependency_job_id":null,"html_url":"https://github.com/BruceArmstrong007/Angular-Signals-SharedWorkers","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/BruceArmstrong007%2FAngular-Signals-SharedWorkers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceArmstrong007%2FAngular-Signals-SharedWorkers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceArmstrong007%2FAngular-Signals-SharedWorkers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceArmstrong007%2FAngular-Signals-SharedWorkers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BruceArmstrong007","download_url":"https://codeload.github.com/BruceArmstrong007/Angular-Signals-SharedWorkers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244166677,"owners_count":20409178,"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":["angular","angularv16","portals","sharedworkers","signals"],"created_at":"2024-11-24T11:09:40.431Z","updated_at":"2026-05-21T04:02:31.405Z","avatar_url":"https://github.com/BruceArmstrong007.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular-Signals-SharedWorkers\nAngular@next-v16  Trying out Shared Worker with Signals \n# Signals![image](https://user-images.githubusercontent.com/48177059/223436371-67e50bec-8aa7-4a61-afb1-15e4e148d963.png)\n\n# Goal :\n To learn about Shared Workers (that share data between tabs and windows) and Signals that is going to be released in Angular V16\n\n# In This Example we get tp see : \n  1.) Component of Angular Popping in and out of window with the help of portals \\\n  2.) Same Application that can maintain its state across different windows with the help of ServiceWorker \\\n  3.) Usage of signals instead of Rxjs Subjects to Maintain State in UI. \\\n\n# Takeaway :\n  1.) SharedWorkers are supported in main desktop browsers and can be used share data across different tabs and windows, \n   we can also create a common state management library that works with all frameworks and across windows as well\n   might need adoptor for different frameworks \\\n  2.) signals are just dope and exciting, first step from angular to eliminate NgZone \\\n\n# Known Issues\n  3.) Regarding portals, when i try to create a sub window , with ComponentPortal , the styles are not applied in new window,\n  unless it is also manually attached with selectors \\\n\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.0.0-next.2.\n\n## Development server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.\n\n## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n## Build\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.\n\n## Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n## Running end-to-end tests\n\nRun `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.\n\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrucearmstrong007%2Fangular-signals-sharedworkers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrucearmstrong007%2Fangular-signals-sharedworkers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrucearmstrong007%2Fangular-signals-sharedworkers/lists"}