-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Ensure {{}} are removed after binding #304
Comments
Binding mustaches are potentially valuable serialization data. For example, the template binding library leaves if and repeat attributes as mustaches. It does this (presumably) so that the serialized html can be deserialized and bound again to produce the same result. Currently, polymer leaves binding mustaches in the dom when values cannot be serialized because they are objects. This allows the same behavior as described above. If we remove or alter this data, we lose this ability. |
The above point is not convincing since It's not possible in general to serialize/deserialize to a bound state. This is because attributes store binding mustaches and also express bound values. |
I don't think we should bother to do this. For performance reasons, I don't want to touch any attributes the user hasn't specifically asked us to reflect. @sjmiles wdyt? |
There's no rationale given in the original post for why it would be a good thing to affect these attributes. Until and unless a strong argument emerges, I agree we should not take action. |
Will reopen/refile if this becomes relevant. |
No description provided.
The text was updated successfully, but these errors were encountered: