File tree Expand file tree Collapse file tree 5 files changed +5
-8
lines changed Expand file tree Collapse file tree 5 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 12
12
13
13
# 11.1.0-rc.9 (Unreleased)
14
14
15
+ #### :bug : Bug Fix
16
+
17
+ - revert escaping JSX prop names with hyphens. https://github.com/rescript-lang/rescript-compiler/pull/6705
18
+
15
19
# 11.1.0-rc.8
16
20
17
21
#### :rocket : New Feature
Original file line number Diff line number Diff line change @@ -4410,7 +4410,6 @@ and printJsxProps ~state args cmtTbl : Doc.t * Parsetree.expression option =
4410
4410
loop [] args
4411
4411
4412
4412
and printJsxProp ~state arg cmtTbl =
4413
- let printIdentLike ident = printIdentLike ~allow Hyphen:true ident in
4414
4413
match arg with
4415
4414
| ( ((Asttypes. Labelled lblTxt | Optional lblTxt) as lbl),
4416
4415
{
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ lazy \"let"
62
62
let x = 1
63
63
64
64
let x =
65
- <div aria-foo=\"type">
65
+ <div \" aria-foo" =\"type">
66
66
\"module"
67
67
\"let"
68
68
</div>
Original file line number Diff line number Diff line change @@ -47,11 +47,6 @@ let x =
47
47
{a}
48
48
<B />
49
49
</Foo.custom-tag>
50
- let x =
51
- <custom-tag data-custom-state=true>
52
- {a}
53
- <B />
54
- </custom-tag>
55
50
56
51
let x = <div className="container" className2="container2" className3="container3" onClick />
57
52
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ let x = <A> {a} </A>
17
17
let x = <A > {a } {b } </A >
18
18
let x = <custom - tag className = "container" > {a } <B /> </custom - tag >
19
19
let x = <Foo .custom - tag className = "container" > {a } <B /> </Foo .custom - tag >
20
- let x = <custom - tag data - custom - state = true > {a } <B /> </custom - tag >
21
20
22
21
let x =
23
22
<div
You can’t perform that action at this time.
0 commit comments