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
I was able to manage our own storage service that provides functionality to support async storage with the help of StorageMap library that use IndexedDb and AsyncStorageEngine.
Et voilà!
You can now use your async StorageService with NGXS!
Note: This will not work with IE11 and target type ES5 because ngxs-lab/data @persistence decorator use the Package class that is only available with ES6 (ES2015). I was not able get this work event if I tried with the following packages:
The text was updated successfully, but these errors were encountered:
SteveLemire
changed the title
I was able to manage our own storage service that provides functionality to support async storage with the help of [StorageMap ](https://www.npmjs.com/package/@ngx-pwa/local-storage) library that use _IndexedDb_ and [AsyncStorageEngine](https://github.com/ngxs-labs/async-storage-plugin).
How to create async storage with NGXS
May 19, 2020
I was able to manage our own storage service that provides functionality to support async storage with the help of StorageMap library that use IndexedDb and AsyncStorageEngine.
Install StorageMap .
Install AsyncStorageEngine
Create a new storage service and implement AsyncStorageEngine with missing members like this:
Et voilà!
You can now use your async StorageService with NGXS!
Originally posted by @SteveLemire in ngxs-labs/data#299 (comment)
The text was updated successfully, but these errors were encountered: