brisa-build / brisa

The Web Platform Framework.
https://brisa.build
MIT License
449 stars 12 forks source link

attribute as `undefined` should not set the attribute #539

Closed aralroca closed 1 month ago

aralroca commented 1 month ago

When the attribute is undefined right now, the WC renders “undefined, " which is incorrect. We should not set the attribute. In fact, during the SSR it is fine, it is then in the WC rendering that it is not fine.

Detected by @anubra266