adopted-ember-addons / adopted-ember-addons/ember-local-storage

Re-saving index key

Open
#323 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
220
Forks
78
PR merge metrics
No merged PRs in 30d

Description

Using the LS adapter with Ember Data. On a fresh load, with records already saved in LS:

If I do localStorage.clear() and then save a record, both the record and the index key for that model type are saved to LS. If I repeat clearing and saving, the index key doesn´t save. Is there a way to force the index key to save - presume this is some sort of internal caching issue?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.