Skip to content

Commit fd43550

Browse files
Merge pull request #323 from preactjs/changeset-release/main
Version Packages
2 parents 1d72370 + 53686ec commit fd43550

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

.changeset/dull-jobs-sin.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# preact-render-to-string
22

3+
## 6.3.0
4+
5+
### Minor Changes
6+
7+
- [`926827c`](https://github.com/preactjs/preact-render-to-string/commit/926827c0745889545a97774535e778da3c808dd0) Thanks [@marvinhagemeister](https://github.com/marvinhagemeister)! - Add support for precompiled JSX transform, see https://deno.com/blog/v1.38#fastest-jsx-transform. Compared to traditional JSX transforms, the precompiled JSX transform tries to pre-serialize as much of the JSX as possible. That way less objects need to be created and serialized which relieves a lot of GC pressure.
8+
9+
```jsx
10+
// input
11+
<div class="foo">hello</div>;
12+
13+
// output
14+
const tpl = [`<div class="foo">hello</div>`];
15+
jsxTemplate(tpl);
16+
```
17+
318
## 6.2.2
419

520
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "preact-render-to-string",
33
"amdName": "preactRenderToString",
4-
"version": "6.2.2",
4+
"version": "6.3.0",
55
"description": "Render JSX to an HTML string, with support for Preact components.",
66
"main": "dist/index.js",
77
"umd:main": "dist/index.umd.js",

0 commit comments

Comments
 (0)