re: Understanding data flow in Vuex VIEW POST

re: Should I always use getters to access data? or only when data needs to be filtered/formatted/etc? I mean, if I need raw data, is it ok to take it ...

Good question! I think I'll need to write a post about this. It really comes down to a philosophical discussion more than anything else. You can access data directly from the state, but it might not be the best thing to do. If it's simple data that will never need formatted or a filter, go for it, I would say. But is it always that straight forward?

Yeah, I'm going to write another post talking about this. Thank you for the topic! Stay tuned.

code of conduct - report abuse