2.4.1
https://jsfiddle.net/38d0jj83/2/
Open console and run.
There will not be an infinite loop
Second sort-page-control generates infinite update loop:
Console: [Vue warn]: You may have an infinite update loop in a component render function.
found in
--->
As I understand, list getter in sort-page-control produces additional watchers or something like this.
v2.3.3 have problem too
Array.prototype.sort is a mutating method. Copy the array before calling it.
@yyx990803 You broke my world. Couple of years I was sure that it is not mutating method :O And I'm not alone! :O
I faced the same problem ... Your are not alone( ̄∇ ̄).
Most helpful comment
Array.prototype.sortis a mutating method. Copy the array before calling it.