Vue version
3.4.18
Link to minimal reproduction
https://jsfiddle.net/uwegz5y8/23/
Steps to reproduce
- Load repro
- See
Boo: false; typeof: boolean - as expected, because boo attribute is not set
- Click "Toggle Boo"
- See
Boo: true; typeof: boolean - as expected, because now boo attribute is set
- Click "Toggle Boo" again
- See
Boo: null; typeof: object - unexpected, since boo attribute is removed - we expect to receive false just like in the 2nd step previously
What is expected?
false
What is actually happening?
null
System Info
No response
Any additional comments?
Kinda related: #9697