ember-tracked-local-storage

2.0.1 • Public • Published

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

  • Ember.js v4.12 or above
  • Ember CLI v4.12 or above
  • Node.js v18 or above

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.

Readme

Keywords

Package Sidebar

Install

npm i ember-tracked-local-storage

Weekly Downloads

1,287

Version

2.0.1

License

MIT

Unpacked Size

21 kB

Total Files

15

Last publish

Collaborators

  • rwwagner90
  • wjthorp
  • herkkokiljunen