Skip to content

Commit 969fed2

Browse files
committed
Update CHANGELOG
1 parent 6b118f9 commit 969fed2

File tree

2 files changed

+61
-0
lines changed

2 files changed

+61
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
1313
# 12.0.0-alpha.9 (Unreleased)
1414

15+
#### :bug: Bug fix
16+
- Allow single newline in JSX. https://github.com/rescript-lang/rescript/pull/7246
17+
1518
# 12.0.0-alpha.8
1619

1720
#### :bug: Bug fix

Example.res

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<div>
2+
// before a
3+
{a} // after a
4+
5+
{b} // after b
6+
7+
{
8+
hello()
9+
hello()
10+
}
11+
{
12+
world()
13+
world()
14+
}
15+
16+
{
17+
hello()
18+
hello()
19+
} {
20+
world()
21+
world()
22+
}
23+
// another test
24+
<span
25+
id="1"
26+
className="sdf sdfdsf sdfs sdf asdf dsf"
27+
onClick={() => {
28+
()
29+
}}
30+
/>
31+
32+
// comment
33+
<span
34+
id="2"
35+
className="sdf sdfdsf sdfs sdf asdf dsf"
36+
onClick={() => {
37+
()
38+
}}
39+
/>
40+
<span
41+
id="3"
42+
className="sdf sdfdsf sdfs sdf asdf dsf"
43+
onClick={() => {
44+
()
45+
}}
46+
/>
47+
{ hello() }
48+
49+
{
50+
hello()
51+
}
52+
53+
54+
{
55+
world()
56+
world()
57+
}
58+
</div>

0 commit comments

Comments
 (0)