Debugging information on Vue 2
Currently, the debugging information of events in the Timeline has almost nothing on Vue 2. While tha events array doesn't exist in Vue 2, there should be some kind of fallback to display at least some information like the previous values and current values for primitives.
Discussed in https://github.com/posva/pinia/discussions/857
Originally posted by Djaler November 30, 2021
With the same code
mutation info in devtools in Vue 3 looks like
but in Vue 2 it's just
which is not so useful for debugging
I think the only way we can do this is by saving previous store state deep clone
Any updates on this topic? Do we know when the feature could be implemented? Keep up the good work 😄
I feel this is an important functionality that is currently missing from DevTools, any deadlines for its implementation?
I can try implementing this if someone can give me some hints on where to start looking into the code.
I actually do not see any timeline event information at all for pinia actions with vue 2.7.14 and invoked via mapActions.