astro/.changeset/cold-paws-remember.md
Nate Moore 3d20623c32
Fix falsy values (#275)
* fix(#274): improve attribute handling

* chore: add test for JSX expressions

* fix: falsy expressions should not render

* chore: add changeset

* test: update expression tests

* fix: render 0 if value is {0}
2021-05-28 17:02:04 -05:00

283 B

astro
patch

Fixed a bug where Astro did not conform to JSX Expressions' && syntax.

Also fixed a bug where <span data-attr="" /> would render as <span data-attr="undefined" />.