There is a bug in clearSortOrder() and it could be present in more cases like that, when there are props mutated directly with "=". Props shouldnt be changed in child component. According to docs, there should be an event with value emitted back to parent.
https://vuejs.org/v2/guide/components.html#Sending-Messages-to-Parents-with-Events
There is a bug in clearSortOrder() and it could be present in more cases like that, when there are props mutated directly with "=". Props shouldnt be changed in child component. According to docs, there should be an event with value emitted back to parent. https://vuejs.org/v2/guide/components.html#Sending-Messages-to-Parents-with-Events
There is .sync modifier as well. It can be useful with vuex or computed property setter. https://vuejs.org/v2/guide/components-custom-events.html#sync-Modifier
Here is an example with this bug: https://codesandbox.io/s/3qm73n67j5