Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
can.Model.List() updates its length after destoy() of one of its models only if it has bindings #495
I scratched my noodle on this one for a while. I see your point; however, I'm struggling to find the use case where something like this would happen. If you are doing a live bound template with both of these lists and you destroy one of the models in the list, then both of the lists will react as expected. This is because we bind on each list when rendering the template.
Can you provide a potential real-world example where you might be running into this situation? One where you would only be listening on changes to one list, but would be expecting results from the other one without binding on it? In the mean time, I'm going to have to call this one "won't fix" because it is working as expected.