UNPKG

@bitjourney/react-from-html

Version:

Builds React elements from HTML snippets, or a safe dangerouslySetInnerHTML alternative

29 lines (16 loc) 634 B
# The revision history of react-from-html ## v0.6.0 2019/02/28 * `<RawHtml html="...">` for SSR * it requires `<DOMParserContext.Provider/>` for `DOMParser` instance ## v0.5.0 2018/07/23 * Fix `key` attribute to be correct ([#3](https://github.com/bitjourney/react-from-html/pull/3)) ## v0.4.0 2018/07/09 * Fix crashes when HTML snippets include comments ## v0.3.0 2018/07/06 * Remove `ReactFromHtml#parse()` * Introduce `ReactFromHtml#parseToFragment()` and `#parseToNodeList()` ## v0.2.0 2018/07/05 * Support React v15 * v15 support will be dropped at react-from-html v1.0.0 ## v0.1.0 2018/07/05 * Initial release