While optimizing components for the clipboard representation, calling
setAttribute() directly could have side effects on entity's components already
processed (such as re-setting properties already removed). To avoid side
effects, HTMLElement original setAttribute() and removeAttribute() functions are
used instead.
While optimizing components for the clipboard representation, calling setAttribute() directly could have side effects on entity's components already processed (such as re-setting properties already removed). To avoid side effects, HTMLElement original setAttribute() and removeAttribute() functions are used instead.