I am reading about Local Storage and I am quite confused. As I see there are two options:
Native Storage , import { NativeStorage } Ionic Storage, import { IonicStorageModule } My app is developed with Ionic 3 and I am trying to save an array of object localy after retrieve it from Parse Server.
With Ionic 1 I stored the objects array like this:
setUsers (users){
window.localStorage.users_data = JSON.stringify(users);
}
getUsers(){
return JSON.parse(window.localStorage.users_data || '[]');
}
So now, what is the best option to save my data and stringfy them and parse them?
Native storage or Ionic Storage?
Thank you a lot