mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
3d20623c32
* 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}
7 lines
283 B
Markdown
7 lines
283 B
Markdown
---
|
|
'astro': patch
|
|
---
|
|
|
|
Fixed a bug where Astro did not conform to JSX Expressions' [`&&`](https://reactjs.org/docs/conditional-rendering.html#inline-if-with-logical--operator) syntax.
|
|
|
|
Also fixed a bug where `<span data-attr="" />` would render as `<span data-attr="undefined" />`.
|