{"id":15388505,"url":"https://github.com/deebloo/observable-stage3-decorators","last_synced_at":"2025-07-24T14:39:19.832Z","repository":{"id":71870331,"uuid":"603633917","full_name":"deebloo/observable-stage3-decorators","owner":"deebloo","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-05T02:58:11.000Z","size":36,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-15T20:45:57.999Z","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/deebloo.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,"zenodo":null}},"created_at":"2023-02-19T05:18:25.000Z","updated_at":"2023-05-07T06:57:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"a4a1c85c-729e-494d-8db2-80b020d7b5d0","html_url":"https://github.com/deebloo/observable-stage3-decorators","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.1428571428571429,"last_synced_commit":"dae107224e5f33f8f30718220044fda296c8b9e3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deebloo/observable-stage3-decorators","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deebloo%2Fobservable-stage3-decorators","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deebloo%2Fobservable-stage3-decorators/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deebloo%2Fobservable-stage3-decorators/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deebloo%2Fobservable-stage3-decorators/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deebloo","download_url":"https://codeload.github.com/deebloo/observable-stage3-decorators/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deebloo%2Fobservable-stage3-decorators/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266857019,"owners_count":23995784,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-10-01T14:56:59.146Z","updated_at":"2025-07-24T14:39:19.800Z","avatar_url":"https://github.com/deebloo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# New Decorator Observable Props\n\nDemonstrates a technique for monitoring property changes on a class instance using stage 3 decorators.\nThis should work with both plain classes and with custom elements. It is important that this does not require subclassing.\n\n## Demo\n\nmake changes to src/main.ts to see changes\n\n```shell\nnpm i\n```\n\n```shell\nnpm start --watch\n```\n\n```ts\nimport { computed, observe } from \"./observe.js\";\n\nclass State {\n  @observe accessor foo = \"0\";\n  @observe accessor bar = \"false\";\n\n  test = computed(() =\u003e this.foo + \" \" + this.bar)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeebloo%2Fobservable-stage3-decorators","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeebloo%2Fobservable-stage3-decorators","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeebloo%2Fobservable-stage3-decorators/lists"}