Oh no... I lost reactivity for an object in a pinia store. What to look out for? Any tips for handling more complex data structures without loosing reactivity? Where are the limits? What are common solutions? So many questions but not sure what to search for atm.. fml. Seems like I miss something obvious... #vue#pinia
@42GB Vue refs are deeply reactive, so reactivity should not be a problem.
Organizing stores like in the blog post would work, if that simplifies app code, but it is not needed.
After solving the problem, my motivation is back. I am starting to get really excited about #vue because I realised that not only #pinia states react to changes... also getters and actions. The more I know about vue and pinia, the more structured the code becomes. I am getting closer to having all the features I need for a basic Mastodon list manager. The UI is still a mess.
@42GB I only used it very briefly a few years ago. The little frontend code I touched recently was mostly React. I don't have a preference, but I'm curious to hear what you prefer about Vue.
Add comment