glimmer-vm icon indicating copy to clipboard operation
glimmer-vm copied to clipboard

Dynamic "const" attrs shouldn't produce updating opcodes

Open chancancode opened this issue 9 years ago • 3 comments

e.g. EmberIDs

chancancode avatar Jan 20 '16 19:01 chancancode

Is this still relevant?

locks avatar Apr 18 '20 15:04 locks

Is this still relevant?

NullVoxPopuli avatar Jan 27 '22 04:01 NullVoxPopuli

Maybe. Someone would need to check the updating opcode produced by something like <div data-foo={{@foo}} /> where @foo=“foo string literal”. Ideally there should be nothing to update in this case, but according to the issue it seems like it at least at one point produced an updating opcode for the attribute. Probably matters very little though. In the past when each component has an ID it probably mattered a lot more.

chancancode avatar Jan 27 '22 06:01 chancancode