Seeking Feedback on My Approach to Implementing Clean Architecture in Vue 3 Using Pinia #2480
Unanswered
rayan2014
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
-
Hello everyone,
I'm currently working on implementing Clean Architecture in a Vue 3 project, and I'd like to gather some insights and feedback on my approach.
My approach involves creating dedicated Pinia stores for each feature (e.g., Login, SignUp, getProduct, etc.), where each store is responsible for handling API calls and the associated business logic. Within these stores, I use dedicated services to interact with the backend API.
I'd like to hear your thoughts on this approach:
Do you think this architecture aligns well with the principles of Clean Architecture in a Vue 3 project?
Are there any potential performance concerns or trade-offs I should be aware of when using Pinia for every API call?
I'm open to suggestions, advice, and any best practices that could help improve the architecture. Your feedback would be greatly appreciated.
Thank you in advance for your insights!
Beta Was this translation helpful? Give feedback.
All reactions