Open
Description
The useBooleanShorthandSyntax
option (which is on by default), strips false
values.
While the behavior is fine for a true
value: <Foo bar={true}>
--> <Foo bar>
,
it's not for a false
value: <Foo bar={false}>
--> <Foo>
,
which is definitely not the same thing, the prop is removed completely.