@glimmer/tracking
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

@glimmer/tracking

npm version Build Status

Installation

Add this package to your project with Yarn:

yarn add -D @glimmer/tracking

Or alternatively with npm:

npm install --save-dev @glimmer/tracking

Usage

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;
}

Development

For the development of this project, Yarn is preferred over npm. However, any Yarn command can be replaced by the npm equivalent. See Migration from npm in the Yarn documentation for a list of the equivalent commands.

  • Clone repository locally: git clone https://github.com/glimmerjs/glimmer-component.git
  • Install dependencies: yarn, or yarn install
  • Open project in your editor of choice and make your changes
  • Run tests: yarn run test

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/glimmerjs/glimmer-component.

Acknowledgements

Thanks to Monegraph for funding the initial development of this library.

License

MIT License.

Readme

Keywords

Package Sidebar

Install

npm i @glimmer/tracking

Weekly Downloads

116,371

Version

1.1.2

License

MIT

Unpacked Size

63.4 kB

Total Files

18

Last publish

Collaborators

  • nullvoxpopuli
  • glimmer-vm-github-actions
  • tomdale
  • rwjblue
  • dgeb
  • locks
  • chancancode
  • wycats
  • chadhietala
  • krisselden
  • stefanpenner
  • mmun
  • mixonic
  • pzuraq