how not to lose data that is stored in localStorage? I use Angular-localStorage, which, when the memory is full, simply does not save data. Maybe there are some ways to save in cookies or something like this when overflowed? I understand that in LocalStorage no one stores a large amount of data, but alas, in this situation is required.

  • This is a browser limitation, not angular-localStorage . Unfortunately, it is not possible to increase the size of localStorage (usually in 5BM). Cookies also have limitations. Chrome has Web SQL support that allows you to store more, but the solution is not cross-browser. - Igor Golovin

0