Skip to content

Commit

Permalink
Merge pull request #323 from preactjs/changeset-release/main
Browse files Browse the repository at this point in the history
Version Packages
  • Loading branch information
marvinhagemeister authored Nov 8, 2023
2 parents 1d72370 + 53686ec commit fd43550
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
14 changes: 0 additions & 14 deletions .changeset/dull-jobs-sin.md

This file was deleted.

15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# preact-render-to-string

## 6.3.0

### Minor Changes

- [`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.

```jsx
// input
<div class="foo">hello</div>;

// output
const tpl = [`<div class="foo">hello</div>`];
jsxTemplate(tpl);
```

## 6.2.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "preact-render-to-string",
"amdName": "preactRenderToString",
"version": "6.2.2",
"version": "6.3.0",
"description": "Render JSX to an HTML string, with support for Preact components.",
"main": "dist/index.js",
"umd:main": "dist/index.umd.js",
Expand Down

0 comments on commit fd43550

Please sign in to comment.