We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30521b2 commit 6613f38Copy full SHA for 6613f38
README.md
@@ -86,8 +86,8 @@ module.exports = {
86
{
87
"compilerOptions": {
88
// ...
89
- "types": ["unplugin-jsx-string" /* ... */]
90
- }
+ "types": ["unplugin-jsx-string" /* ... */],
+ },
91
}
92
```
93
@@ -118,16 +118,16 @@ jsxToString(
118
<br />
119
<div />
120
123
121
- </div>
+ </div>,
122
)
// "<div><p>foo</p><p>bar</p><br/><div/>123</div>"
124
125
126
## Benchmark
127
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)
+<div>Hello World</div> x 99,362 ops/sec ±0.55% (92 runs sampled)
+<div><img src={'foo'} /><div></div></div> x 66,281 ops/sec ±0.63% (95 runs sampled)
131
132
133
<small>
0 commit comments