JSX embedded tags
Open
feature request
react
- Dominant language
- Rust
- Stars
- 22.3k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
jsx spec and babel have this as per
https://github.com/facebook/jsx/issues/53
https://github.com/babel/babel/pull/6006
Flow version: 0.94.0
## Expected behavior
No errors
## Actual behavior
```
4: attr1=
foo bar />
^ JSX value should be either an expression or a quoted JSX text
4: attr1=
foo bar />
^ Unexpected token <
4: attr1=
foo bar />
^ JSX value should be either an expression or a quoted JSX text
4: attr1=
foo bar />
^ Unexpected token <
4: attr1=
foo bar />
^ Expected corresponding JSX closing tag for Foo
6: /> ^ Unexpected token >
7: ^ Unexpected end of input
```
* Link to Try-Flow or Github repo:
https://flow.org/try/#0JYWwDg9gTgLgBAKjgQwM5wEoFNkGN4BmUEIcARFDvmQNwBQduEAdqvACZwC8cAPO8ABucOnDHiJY5DBhQAjF35CAfHAIQIfAGIa4AI2QAvRXuUGovAPSm4l5VYGDloya+myATIse3nryXZ0QA
Contributor guide
Assessment
This issue has not been assessed yet.