But we can only apply this optimization for known HTML boolean attributes. If it's not part of the boolean attributes in the HTML spec, then we should always fall back to jsxAttr, because it might be something framework specific.
Ran into this while trying to switch the Fresh size over to the precompile transform.
In the new JSX transform we have an optimization that bypasses
jsxAttr
with boolean attributes.But we can only apply this optimization for known HTML boolean attributes. If it's not part of the boolean attributes in the HTML spec, then we should always fall back to
jsxAttr
, because it might be something framework specific.Ran into this while trying to switch the Fresh size over to the
precompile
transform.