Leadfeeder / ember-tracked-local-storage

MIT License
8 stars 3 forks source link

ember-tracked-local-storage

An addon to allow the use of local storage values to use glimmer tracking and cause template re-renders on updates.

Compatibility

Installation

ember install ember-tracked-local-storage

Usage

Simple use case:

import Component from '@glimmer/component';
import { trackedInLocalStorage } from 'ember-tracked-local-storage';

export default class DemoComponent extends Component {
  @trackedInLocalStorage() someProperty;
}

Full guides can be found on the documentation site.

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.