frint-react-server
Server-side React package for Frint
Guide
Installation
$ npm install --save react react-dom prop-types frint-react frint-react-server
Usage
; // import your App; const app = ;const htmlOutput = ;
API
renderToString
renderToString(app)
Arguments
app
(App
): The Root App or Child App instance
Returns
String
: HTML output as a string.