Single line comments break props parsing
Aperta
- Lingua principale
- JavaScript
- Stelle
- 9k
- Fork
- 181
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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" },
}
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.