- Notifications
You must be signed in to change notification settings - Fork405
-
ContextAfter a recent feature request (#1760) to implement an async version of the storage plugin I had a look at what plugins have been developed by the community. It seems that there are quite a few plugins that have been developed that solve various different use cases, but for me, this does indicate that the core plugin is lacking in some areas. Initial Requirements
The purpose of this discussion is to iterate on the ideas. The final design will be documented on#1771 |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 5 comments 2 replies
-
Meeting notes from the kickstart session (15/07/2021):Use cases
LocalForage
Challenges:
Opportunities
recording |
BetaWas this translation helpful?Give feedback.
All reactions
-
Hi, NW.js is also a cross-platform desktop application development ecosystem using web technologies similar to the Electron. Under the initial requirement, I seeShould work with Electron? I think the NW.js is also working as same as Electron still there are differences like features, the way we build the app etc. Hence, could you please add the Thank you very much |
BetaWas this translation helpful?Give feedback.
All reactions
-
In the application I currently work on I had to useLocalForage to accomplish an auto-save functionality. The idea is that a user can play around with the application, create entities, link them together, and if he is happy with what has been created, can click the save button to persist everything in the server using a REST API. Based on this experience, I would like to share my thoughts on the LocalForage/IndexDB field:
|
BetaWas this translation helpful?Give feedback.
All reactions
-
@Carniatto & others. What is the plan to move forward with this? |
BetaWas this translation helpful?Give feedback.
All reactions
-
Is there any update on whether NGXS will ever support an async storage engine? It's truly unfortunate that for applications relying on async libraries like SQLite, it's currently impossible to integrate them effectively with NGXS. This limitation feels like a significant hurdle, and it's disappointing that such a powerful state management library cannot support these use cases. I genuinely hope the team might reconsider addressing this, as it would greatly enhance NGXS's flexibility and usability for modern applications! |
BetaWas this translation helpful?Give feedback.
All reactions
-
No one cares this? |
BetaWas this translation helpful?Give feedback.
All reactions
-
It's not official, but one option is to implement your own version of an async storage engine based onhttps://github.com/ngxs-labs/async-storage-plugin. I did a project where we implemented that with SQLite for mobile (IndexedDB for web) using theIonic Storage plugin. That's been working well for our use case with @ngxs/store 3.8.2 and @ionic/storage 4.0.0. |
BetaWas this translation helpful?Give feedback.