I\'m observing a data resurrection after localStorage.clear()
or deleteRecord()
(jsbin example) is called in my ember app.
Follow these ste
Wiping localStorage with clear
works just OK. It is your local storage adapter (LSAdapter) that keeps the state and repopulate previously cleared localStorage on creating new record. This is done that way because records are stored in a string and LSAdapter
don't know if you've changed it or not, so it always save all the records to be sure it is synced.
Consider destroying all the records instead of clearing localStorage.