The addon provides a storageFor computed property that returns a proxy and persists the changes to localStorage or sessionStorage. It ships with an ember-data adapter.
I'm attempting to get ember-local-storage working to store my Ember Data models locally, but the data doesn't seem to be persisting. I've created a demo project here:
I'm attempting to get
ember-local-storage
working to store my Ember Data models locally, but the data doesn't seem to be persisting. I've created a demo project here:https://github.com/CodingItWrong/ember-local-storage-troubleshooting
I believe the adapter and serializer are set up according to what the readme describes, but I don't see any entries in my browser's Local Storage:
And when I reload the app data isn't preserved.
Am I missing something obvious, or could there be a bug occurring in Ember 3.1.3?