Fix vue/no-mutating-props
issues
#28119
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vue/no-mutating-props
issues
#28119
We badly started implementing some props mutation.
There are usually two cases:
propsData
Solution 1
Migrate the propsData (usually initial-states) to the root
.vue
file away from the.js
entry pointSolution 2
Use a sync modifier and change the data flow according to vue documentations. Or rethink the way you're using the data and consider switching to events and move the handling methods one component up.
The text was updated successfully, but these errors were encountered: