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 = {
8686{
8787 " compilerOptions" : {
8888 // ...
89- " types" : [" unplugin-jsx-string" /* ... */ ]
90- }
89+ " types" : [" unplugin-jsx-string" /* ... */ ],
90+ },
9191}
9292```
9393
@@ -118,16 +118,16 @@ jsxToString(
118118 <br />
119119 <div />
120120 123
121- </div >
121+ </div >,
122122)
123123// "<div><p>foo</p><p>bar</p><br/><div/>123</div>"
124124```
125125
126126## Benchmark
127127
128128```
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)
131131```
132132
133133<small >
You can’t perform that action at this time.
0 commit comments