{"id":15060163,"url":"https://github.com/nullvoxpopuli/ember-deep-tracked","last_synced_at":"2025-04-10T04:21:21.861Z","repository":{"id":38173339,"uuid":"378227226","full_name":"NullVoxPopuli/ember-deep-tracked","owner":"NullVoxPopuli","description":"Deep auto-tracking for when you just don't care, and want things to work (at the cost of performance in some situtations)","archived":false,"fork":false,"pushed_at":"2024-04-28T22:30:58.000Z","size":8525,"stargazers_count":29,"open_issues_count":19,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-01T23:23:28.014Z","etag":null,"topics":["ember","ember-addon","emberjs","glimmer","hacktoberfest","tracking"],"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/NullVoxPopuli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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":"2021-06-18T17:51:52.000Z","updated_at":"2024-05-05T22:34:02.950Z","dependencies_parsed_at":"2023-02-05T01:16:37.981Z","dependency_job_id":"6a96249d-b5ea-45f6-a69f-c58957625a7a","html_url":"https://github.com/NullVoxPopuli/ember-deep-tracked","commit_stats":{"total_commits":376,"total_committers":8,"mean_commits":47.0,"dds":"0.32180851063829785","last_synced_commit":"37c506d7f04c00c1f0ab31e740ef15a92bb99feb"},"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullVoxPopuli%2Fember-deep-tracked","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullVoxPopuli%2Fember-deep-tracked/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullVoxPopuli%2Fember-deep-tracked/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullVoxPopuli%2Fember-deep-tracked/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NullVoxPopuli","download_url":"https://codeload.github.com/NullVoxPopuli/ember-deep-tracked/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248155435,"owners_count":21056638,"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":["ember","ember-addon","emberjs","glimmer","hacktoberfest","tracking"],"created_at":"2024-09-24T22:53:54.847Z","updated_at":"2025-04-10T04:21:21.823Z","avatar_url":"https://github.com/NullVoxPopuli.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-deep-tracked\n\n[![npm version](https://badge.fury.io/js/ember-deep-tracked.svg)](https://badge.fury.io/js/ember-deep-tracked)\n[![CI](https://github.com/NullVoxPopuli/ember-deep-tracked/actions/workflows/ci.yml/badge.svg?branch=main\u0026event=push)](https://github.com/NullVoxPopuli/ember-deep-tracked/actions/workflows/ci.yml)\n\nDeep tracking using proxies for complex objects for when you want _everything_ to be reactive, at the cost of performance.\n\nThis is not recommended for performance-sensitive situations such as rendering a\ntable from a large data set where updates to that data set are frequent. Even\nwithout updates, deeply tracking will increase initial-render time.\n\n## Compatibility\n\n* Ember.js v3.25+\n* TypeScript v4.5+\n* ember-auto-import v2+\n* [Proxy](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) support\n\n## Installation\n\n```bash\nnpm install ember-deep-tracked\n# or\nyarn add ember-deep-tracked\n# or\npnpm add ember-deep-tracked\n# or\nember install ember-deep-tracked\n```\n\n## Usage\n\n```js\nimport { tracked } from 'ember-deep-tracked';\n\nclass Foo {\n  @tracked obj = { bar: 2 };\n}\n```\nor in a component:\n```js\nimport { tracked } from 'ember-deep-tracked';\nimport Component from '@glimmer/component';\n\nexport default class Foo extends Component {\n  @tracked obj = { bar: 2 };\n}\n```\n```hbs\n{{this.obj.bar}} \u003c- automatically updates when \"obj.bar\" changes\n```\nusing this decorator form will track the _reference_, like `tracked` from `@glimmer/tracking` does, and then also deeply tracks the value.\n\nthe entire object and any sub object can be swapped with other objects and they'll be automatically tracked.\n\n`import { deepTracked } from 'ember-deep-tracked';`\n\nis also available, and is an alias of `tracked`\n\n## Contributing\n\nSee the [Contributing](CONTRIBUTING.md) guide for details.\n\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullvoxpopuli%2Fember-deep-tracked","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnullvoxpopuli%2Fember-deep-tracked","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullvoxpopuli%2Fember-deep-tracked/lists"}