Always using reset can be bad for performance when a filtered collection is being used to render a list. The entire list will be re-rendered any time the proxied collection is fetched, even if only a single model has an attribute change. Instead, use the collection's set method unless there is an explicit reset or the proxied collection has a comparator.
Always using
reset
can be bad for performance when a filtered collection is being used to render a list. The entire list will be re-rendered any time the proxied collection is fetched, even if only a single model has an attribute change. Instead, use the collection'sset
method unless there is an explicitreset
or the proxied collection has a comparator.