File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -86,8 +86,8 @@ module.exports = {
86
86
{
87
87
" compilerOptions" : {
88
88
// ...
89
- " types" : [" unplugin-jsx-string" /* ... */ ]
90
- }
89
+ " types" : [" unplugin-jsx-string" /* ... */ ],
90
+ },
91
91
}
92
92
```
93
93
@@ -118,16 +118,16 @@ jsxToString(
118
118
<br />
119
119
<div />
120
120
123
121
- </div >
121
+ </div >,
122
122
)
123
123
// "<div><p>foo</p><p>bar</p><br/><div/>123</div>"
124
124
```
125
125
126
126
## Benchmark
127
127
128
128
```
129
- <div>Hello World</div> x 89,429 ops/sec ±0.88 % (95 runs sampled)
130
- <div><img src={'foo'} /><div></div></div> x 62,522 ops/sec ±0.62 % (93 runs sampled)
129
+ <div>Hello World</div> x 99,362 ops/sec ±0.55 % (92 runs sampled)
130
+ <div><img src={'foo'} /><div></div></div> x 66,281 ops/sec ±0.63 % (95 runs sampled)
131
131
```
132
132
133
133
<small >
You can’t perform that action at this time.
0 commit comments