Single line comments break props parsing
Đang mở
- Ngôn ngữ chính
- JavaScript
- Star
- 9k
- Fork
- 181
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Single line comments in the opening tag seem to break `props` parsing. The rendered `vnode` will only receive an empty object as props.
```jsx
html``
```
**Actual Behavior**
```js
// returned vnode
{
props: {},
}
```
**Expected Behavior**
```js
// returned vnode
{
props: { id: "foo" },
}
```
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.