Releases: preactjs/preact-render-to-string
Releases · preactjs/preact-render-to-string
2.1.0
- Bugfix: Falsey values (
false
, null
and undefined
) are no longer incorrectly rendered as strings (Issue #2)
2.0.0
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
- Adds support for managing
className
VS class
.
className
takes precedence over class
- either prop will only ever populate the HTML
class
attribute