Skip to content

4.0.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@developit developit released this 16 Aug 01:28
· 455 commits to main since this release

Breaking Changes:

The preact-render-to-string module no longer supports the { pretty: true } option. For this functionality, please migrate to preact-render-to-string/jsx:

import renderToString from 'preact-render-to-string/jsx';

renderToString(<foo />, { pretty: true, jsx: false, xml: false });