liferay-labs-br/fiber

Renders attribute with empty value when passed

Closed this issue · 1 comments

Expected behaviour

I think the expected when we pass an empty, null or undefined value in an expected attribute is that it is not rendered, some cases would use this in favor.

Example

<div>Hello World!</div>

Actual behaviour

<div id="">Hello World!</div>

It's make sense, let fix this.