Answer the question
In order to leave comments, you need to log in
How to make one time binding friends with filtering?
Good day to all.
There is a loop for displaying a field from an object
<div ng-repeat="data in vm.items | filter: {status: vm.filterValue, title: [email protected]} | orderBy:vm.sortParam"
<div ng-repeat="data in : : vm.items | filter: {status: vm.filterValue, title: [email protected]} | orderBy:vm.sortParam"
Answer the question
In order to leave comments, you need to log in
in replay it's just one watcher. the main thing inside that which is repeated is to use :: . plus use track by $index here it will significantly increase the speed on large arrays with a lot of data inside. and the speed of work with the house will catch up with react
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question