chore: update readme
Some checks are pending
Tests / Unit (push) Waiting to run
Tests / E2E (push) Waiting to run

This commit is contained in:
ayo 2026-07-20 20:35:10 +02:00
parent 561294f72c
commit e3fb0254c7

View file

@ -1,7 +1,7 @@
# Web Component Base # Web Component Base
> [!Warning] > [!Note]
> **Breaking change in v6 — boolean props are now bare attributes.** A boolean > **HTML boolean attributes semantics shipped in v6** - A boolean
> prop follows the HTML convention in both directions: **presence means `true`, > prop follows the HTML convention in both directions: **presence means `true`,
> absence means `false`**. `true` reflects as a bare attribute and `false` > absence means `false`**. `true` reflects as a bare attribute and `false`
> removes it, so `toggleAttribute()` and `[attr]` CSS selectors finally work as > removes it, so `toggleAttribute()` and `[attr]` CSS selectors finally work as