You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attributes with optional values, like disabled for example, are assigned an empty string as their value making them evaluate as falsy. In HTML, if the value is omitted the attribute defaults to truthy and so should be the case in the transform.
Attributes with optional values, like
disabled
for example, are assigned an empty string as their value making them evaluate as falsy. In HTML, if the value is omitted the attribute defaults to truthy and so should be the case in the transform.Currently:
What should happen:
JSX properly converts attributes with no values to
true
.The text was updated successfully, but these errors were encountered: