Lists Store
This page is an example of creating a collection store of lists. The store called useListsStore
extends the useCollectionStore
store to benefit from its state properties and methods.
useCollectionStore is supplied with the epps plugin.
Use Lists Store
useListsStore
and type it with the appropriate methods and state. Add a list
listsStore
using the newList
method. Get a list
Get lists
Remove a list
listsStore
using the removeItem
method. Set lists
setItems
method.