Releases: preactjs/preact-render-to-string
Releases · preactjs/preact-render-to-string
5.1.7
- Add support for node
exports(#134, thanks @marvinhagemeister)
5.1.6
5.1.5
- Add
setState()/forceUpdate()no-op methods to prevent errors (#139, thanks @developit) - Update Travis CI org name to
preactjs[skip ci] (#138, thanks @mbrukman)
5.1.4
- Add
package-lockfor pika (#132, thanks @JoviDeCroock) - Add TypeScript definitions for JSX renderer (#131, thanks @squidfunk)
5.1.3
Bug Fixes
- Fix support for default
contextvalue (#130, thanks @loklaan) - Always throw errors, not
strings(#129, thanks @sventschui)
Maintenance
- Update Travis config (#128, thanks @marvinhagemeister)
5.1.2
- Fix exception when invoking
setStateincomponentWillMount(#127, thanks @marvinhagemeister )
5.1.1
- Fix effects breaking in SSR due to missing
_renderCallbacks(#124, thanks @developit, @marvinhagemeister ) - Fix correct type signature for
prettyoption (#123, thanks @dbushong)
5.1.0
5.0.7
- Indent
Fragment's children when pretty printing. (#117, thanks @utkarshkukreti) - Initialize component
stateas an empty object (#119, thanks @marvinhagemeister) - Streamline non-dimensional params with preact X (#111, thanks @JoviDeCroock)
5.0.6
- Fix each text node printed on a separate line. Adjacent text nodes are now combined together as a single text block. Note that you may need to update your snapshot tests if you're using
preact-render-to-stringwith jest.