Pinia as a layer
Hi, I’m learning pinia, and I like it so much I thought it should be a layer. Does it makes sense? I thougt in making almost every call to DB from pinia and Nuxt using the info from pinia.
I should have a Store Director to coordinate the Stores. Does it makes sense? Does it have a name? can I find a tutorial of this?
3 Replies
It’s a good idea. You’d find a similar concept with redux
is going to be quite complex, many sources of data that depends on eachother
is not a videogame but kind
so would you say is a common thing? to do this with pinia? what kind of docs I can check?
how can I look for docs and tutorials?
connected stores that do fetch and all needed
Im trying to do it by myself, and then I will ask
so far I put the fetch in the store and seems that belongs there
an ORM in pinia? i will check thanks
I was using prisma
Interesting