Closed dkzlv closed 5 months ago
This may be another good topic for documentation, but broadly speaking you want to use mutations in 2 major cases:
loading
error
If you don't need either, just go with a good ol' function! Mutations don't really give you any added benefit
This may be another good topic for documentation, but broadly speaking you want to use mutations in 2 major cases:
loading
anderror
values in the store. Basically, it runs a promise for you and gives some sugar on top of it.If you don't need either, just go with a good ol' function! Mutations don't really give you any added benefit