Releases: preactjs/preact-render-to-string
v6.4.2
Patch Changes
-
#347
7bc77a3
Thanks @marvinhagemeister! - Fix JSX template being detected as a top level Fragment when Deno's jsxprecompile
option is used -
#348
303b8c0
Thanks @marvinhagemeister! - Perf: Remove unnecessary closure when rendering child nodes
v6.4.1
Patch Changes
-
#344
27a8b0e
Thanks @JoviDeCroock! - Ensure commonjs also has the async export -
#336
c46fb59
Thanks @marvinhagemeister! - Fix error thrown after suspending not being rethrown. -
#339
4462822
Thanks @marvinhagemeister! - Fix invalid parent pointer empty value when rendering a suspended vnode
6.4.0
6.4.0
Minor Changes
- #333
6acc97a
Thanks @JoviDeCroock and @dios-david! - Allow prepass like behavior where a Promise
will be awaited and then continued, this is done with the newrenderToStringAsync
export
Patch Changes
6.3.1
What's Changed
- fix: mapped precompile children by @marvinhagemeister in #324
Full Changelog: v6.3.0...v6.3.1
6.3.0
Features
- feat: add support for precompiled JSX by @marvinhagemeister in #322
Maintenance
- chore: update test dependencies by @marvinhagemeister in #321
Full Changelog: 6.2.2...v6.3.0
6.2.2
Patch Changes
- #315
f1d81be
Thanks @JoviDeCroock! - avoid adding double colon for namespaced attributes
6.2.1
Patch Changes
-
#308
a331699
Thanks @marvinhagemeister! - Fix incorrect casing of HTML attributes and SVG attributes -
#310
017a8bb
Thanks @marvinhagemeister! - Fix casing of namespaced attribute names -
#311
bccd1d6
Thanks @gpoitch! - Apply attribute name handling in pretty mode
6.2.0
Minor Changes
-
#305
568f139
Thanks @marvinhagemeister! - Add support for error boundaries viacomponentDidCatch
andgetDerivedStateFromError
This feature is disabled by default and can be enabled by toggling the
errorBoundaries
option:import { options } from 'preact'; // Enable error boundaries options.errorBoundaries = true;
6.1.0
Minor Changes
- #301
659b456
Thanks @marvinhagemeister! - Add experimental ability to render HTML comments via<Fragment UNSTABLE_comment="my-comment" />
. When theUNSTABLE_comment
prop is present all children of thatFragment
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
Patch Changes
- #298
6a4b8ed
Thanks @shinyama-k! - Fix to add type file for jsx.js