Skip to content

Commit 29f1eef

Browse files
chore: udpate changelog
1 parent 926827c commit 29f1eef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.changeset/dull-jobs-sin.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
'preact-render-to-string': minor
33
---
44

5-
Add support for precompiled 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.
5+
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.
66

77
```jsx
88
// input
99
<div class="foo">hello</div>;
1010

1111
// output
1212
const tpl = [`<div class="foo">hello</div>`];
13-
jsxssr(tpl);
13+
jsxTemplate(tpl);
1414
```

0 commit comments

Comments
 (0)