Preact Render To String Versions Save

:page_facing_up: Universal rendering for Preact: render JSX and Preact components to HTML.

v6.4.2

1 month ago

Patch Changes

v6.4.1

1 month ago

Patch Changes

6.4.0

2 months ago

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 new renderToStringAsync export

Patch Changes

v6.3.0

6 months ago

Features

Maintenance

Full Changelog: https://github.com/preactjs/preact-render-to-string/compare/6.2.2...v6.3.0

v6.3.1

6 months ago

What's Changed

Full Changelog: https://github.com/preactjs/preact-render-to-string/compare/v6.3.0...v6.3.1

6.2.2

7 months ago

Patch Changes

v6.2.1

9 months ago

Patch Changes

v6.2.0

10 months ago

Minor Changes

  • #305 568f139 Thanks @marvinhagemeister! - Add support for error boundaries via componentDidCatch and getDerivedStateFromError

    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;
    

v6.1.0

11 months ago

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.

v6.0.3

1 year ago

Patch Changes