You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ngStorage currently demands control over the complete localStroage. This is problematic if you use other plugins that store data in it, especially if this data is not valid JSON.
Adding a try/catch block around JSON.parse already help a lot, but I'm not sure if this in line with your design decisions. Should it just silently ignore invalid values, print a warning or anything like that?
The text was updated successfully, but these errors were encountered:
Hi @passy, this has just been addressed in 8e34a23 (and #3); essentially we're establishing a namespace inside the Storage and will only be interacting with values under this namespace from version 0.2.1 onwards. Lemme know if this didn't fully address your concerns.
ngStorage currently demands control over the complete localStroage. This is problematic if you use other plugins that store data in it, especially if this data is not valid JSON.
Adding a try/catch block around JSON.parse already help a lot, but I'm not sure if this in line with your design decisions. Should it just silently ignore invalid values, print a warning or anything like that?
The text was updated successfully, but these errors were encountered: