Hi @ben,
I’m quite familiar with your wCart tutorials using the Local Storage Manager (containing keyed array) & intermediary arrays to pass on and store the values into local storage manager.
I’m trying to understand how is this new Data Store Component different from Local Storage Manager?
I went through the tutorial for this new Data Store component (Creating a Shopping Cart with the Data Store Component) and this is my understanding, would be great if you could validate:
-
Data Store Component is an abstraction over the Local storage & Session storage manager
-
With the ability to insert, update, delete & clear data, the keyed array in your tutorial & intermediary arrays to pass on data are eliminated, making it damn simple to build similar functionality
-
Does this make the Local storage & Session storage components (under State Management) redundant, as it’s more efficient to use the data store?