Closed
Description
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
8
Link to runnable example
https://jsbin.com/mivorid/2/edit?html,console
Steps to reproduce
simply calling h("my-custom-element", {type: "date", value: ""}, [])
yields unexpected results.
Expected behavior
It should yield
{
"type": "element",
"tagName": "my-custom-element",
"properties": {
"type": "date",
"value": ""
},
"children": []
}
Actual behavior
It does yield
{
"type": "element",
"tagName": "my-custom-element",
"properties": {},
"children": [
{
"type": "date",
"value": ""
}
]
}
Affected runtime and version
bun@1.0.21/chrome@120.0.6099.199
Affected package manager and version
No response
Affected OS and version
No response
Build and bundle tools
No response