-
Notifications
You must be signed in to change notification settings - Fork 25.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyValueDiffers infinite loop when properties order change #14997
Comments
I've just look at the Would not it be worth it to have multiple implementation for immutable and mutable data so those using immutable data (cause of OnPush, NgRx etc...) could benefit from lightweight implementation ? I'm saying all that because I'm assuming |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I'm submitting a ... (check one with "x")
Current behavior
When you change an object by a new object with properties on a different order an infinite loop may occur.
Expected behavior
Nobody wants an infinite loop :)
Minimal reproduction of the problem with instructions
You can easily see it using
ngStyle
an swapping between :and
Here is a plunker doing just that : https://plnkr.co/edit/nRYa2aNydsKOYS8eaDEq
This is affecting both 2.4.9 and 4.0.0-rc.2 (you can easily swap version on the plunker inside
config.js
).I'll reference that previous issue #9115 which is different but still about
KeyValueDiffers
and properties order.The text was updated successfully, but these errors were encountered: