Is there a better way to delete from store's state? #1516
Unanswered
zhao-li
asked this question in
Help and Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Folks,
I'm learning how to use Pinia and was wondering if there's a better way of removing an element from an array stored in a Pinia state.
Ultimately, I am hoping to implement all of the CRUD actions and connect the store up to a remote backend/database.
Is there a better way of defining/implementing the
deleteGreeting
action below?Thank you for your time 🙏
Beta Was this translation helpful? Give feedback.
All reactions