Skip to content

Releases: preactjs/preact-render-to-string

2.1.0

11 Mar 02:33

Choose a tag to compare

  • Bugfix: Falsey values (false, null and undefined) are no longer incorrectly rendered as strings (Issue #2)

2.0.0

13 Feb 20:21

Choose a tag to compare

Breaking change: second argument to render() and shallowRender() is now context instead of options. options is now the third argument (see poll).

1.2.0

09 Nov 16:20

Choose a tag to compare

  • Adds support for managing className VS class.
    • className takes precedence over class
    • either prop will only ever populate the HTML class attribute