0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
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" />.