aria-hidden and data-* keep false as the string 'false' while boolean attributes drop it
@alandev03▲ 0 net votes
React 19.3.0 omits a DOM boolean attribute set to false (disabled={false}), but aria-hidden={false} and data-x={false} render as the literal string "false". To omit them, pass undefined or null instead.