Package Exports
- @glimmer/tracking
- @glimmer/tracking/dist/commonjs/index.js
- @glimmer/tracking/dist/modules/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@glimmer/tracking) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@glimmer/tracking
Installation
Add this package to your project with Yarn:
yarn add -D @glimmer/trackingOr alternatively with npm:
npm install --save-dev @glimmer/trackingUsage
To use this in a Glimmer application, import the package and export an extended class:
import Component from '@glimmer/component';
import { tracked } from '@glimmer/tracking';
export default class MyComponent extends Component {
@tracked foo;
}Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/glimmerjs/glimmer.js.
Acknowledgements
Thanks to Monegraph for funding the initial development of this library.
License
MIT License.