Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 283 Bytes

File metadata and controls

15 lines (8 loc) · 283 Bytes

React Element To HTML

Utility function to turn a React Element into static HTML.

Useful where ReactDOMServer.renderToStaticMarkup() is not available (E.g. in Bower).

Installation

NPM:

$ npm install react-element-to-html

Bower:

$ bower install react-element-to-html