Closed Kugeleis closed 2 years ago
I use this tool in a Vue SPA where the user can add items. Up to now I run itemsjs() as a static procedure before page creation. what would be the correct lifecycle hook to put itemsjs() to reevaluate the items list after the user adds an item?
You need to simply reindex data with method: itemsjs.reindex(data)
itemsjs.reindex(data)
Unfortunately there are no .add, .update, .delete functions right now
.add
.update
.delete
I use this tool in a Vue SPA where the user can add items. Up to now I run itemsjs() as a static procedure before page creation. what would be the correct lifecycle hook to put itemsjs() to reevaluate the items list after the user adds an item?