preact-render-to-string
Advanced tools
Changelog
6.5.13
8e8e8ac
Thanks @f0x52! - Ensure that the _parent
is kept around across multiple suspensions and avoid circular references.
In doing so our useId
hook should always output unique ids during renderingToString.Changelog
6.5.12
ed720ef
Thanks @JoviDeCroock! - Improve performance by pre-allocating arrays6db4f95
Thanks @rschristian! - Switch HTML_LOWER_CASE
regex to match all from line start for a marginal perf benefit.Changelog
6.5.11
62ade27
Thanks @rschristian! - Fix spellcheck={false}
not rendering as spellcheck="false"
Changelog
6.5.10
d80e4dc
Thanks @marvinhagemeister! - Allow any value for class
+ className
as long as it's stringified to match browser behavior.Changelog
6.5.9
4621fa3
Thanks @marvinhagemeister! - Fix spellCheck={false}
not rendering as spellcheck="false"
Changelog
6.5.8
220ad45
Thanks @JoviDeCroock! - Add async benchmarks and iterate on perf improvements883e02b
Thanks @JoviDeCroock! - General performance optimisations45b8e8b
Thanks @JoviDeCroock! - Improve perf a bit by hoisting the typeof check to reduce calling typeofChangelog
6.5.7
481b4f3
Thanks @rschristian! - Support dangerouslySetInnerHTML={undefined}
with renderToStringAsync
Changelog
6.5.5
bebe4bf
Thanks @jacob-ebey! - fix: stop client runtime from being corrupted
fix: insert ooo chunks in the proper order