v0.1.0
- BREAKING CHANGE: In new API, classes take a single options argument, which can include
documentandDOMParserforRenderToDom(previouslydocumentwas a first argument before options)xmldomforRenderToXMLDom(previously this was a first argument before options)jsdomforRenderToJSDom(previously this was a first argument before options)
- To support
dangerouslySetInnerHTML,RenderToDomneeds theDOMParseroption when DOM nodes don't supportinnerHTML(otherwise throws an error). This is set automatically byRenderToXMLDom. - Support text content in
xmldomby not relying oninnerText.
Full Changelog: https://github.com/edemaine/preact-render-to-dom/compare/v0.0.1...v0.1.0###