Skip to content

Releases: preactjs/preact-render-to-string

6.1.0

09 Jun 07:46
cbe881a
Compare
Choose a tag to compare

Minor Changes

  • #301 659b456 Thanks @marvinhagemeister! - Add experimental ability to render HTML comments via <Fragment UNSTABLE_comment="my-comment" />. When the UNSTABLE_comment prop is present all children of that Fragment will be ignored and a HTML comment will be rendered instead. This feature is added to allow framework authors to experiment with marking DOM for hydration in the client. Note that it's marked as unstable and might change in the future.

6.0.3

01 May 17:18
bf95755
Compare
Choose a tag to compare

Patch Changes

6.0.2

29 Mar 11:48
a9817ff
Compare
Choose a tag to compare

Patch Changes

6.0.1

28 Mar 10:25
2e1c08c
Compare
Choose a tag to compare

Patch Changes

6.0.0

28 Mar 10:26
2484cd4
Compare
Choose a tag to compare

Major Changes

  • #241 e8cbf66 Thanks @developit! - Improve performance by another 5-10% using switch and short-circuiting, and move pretty-printing + shallow rendering into preact-render-to-string/jsx.

  • #282 6376f62 Thanks @JoviDeCroock! - Remove trailing space for void_elements, this could fail some test_assertions as
    <img /> will become <img/>, the other VOID_ELEMENTS this will be applied for
    can be found here

  • #286 7a8b590 Thanks @JoviDeCroock! - Remove the castin to VNode for preact/debug, this is fixed in Preact >= 10.13.0

Patch Changes

5.2.6

23 Oct 15:47
2dbc28f
Compare
Choose a tag to compare

Patch Changes

5.2.5

06 Oct 19:18
359a58e
Compare
Choose a tag to compare

Patch Changes

5.2.2

16 Aug 20:09
43689d3
Compare
Choose a tag to compare

Patch Changes

5.2.1

12 Jul 20:27
13b68cf
Compare
Choose a tag to compare

Patch Changes

5.1.21

08 Apr 08:15
c1eb8c4
Compare
Choose a tag to compare

5.1.21

Patch Changes