Closed edemaine closed 2 years ago
Fixes https://github.com/solidjs/solid/issues/1101 by making <div foo={true}> (and <Div foo={true}> behave like <div foo> and <div foo=""> i.e. HTML Boolean attributes.
<div foo={true}>
<Div foo={true}>
<div foo>
<div foo="">
It would be good to add tests for this... but I could use help as I haven't touched the tests before.
Thanks for the PR. Not going this direction though from the conclusion of the discussion. The decision was to keep the current behavior and update SSR to reflect it.
Fixes https://github.com/solidjs/solid/issues/1101 by making
<div foo={true}>
(and<Div foo={true}>
behave like<div foo>
and<div foo="">
i.e. HTML Boolean attributes.It would be good to add tests for this... but I could use help as I haven't touched the tests before.