Server-side React package for Frint
npm install frint-react-server
> Server-side React package for Frint
- Guide
- Installation
- Usage
- API
- renderToString
---
```
$ npm install --save react react-dom prop-types frint-react frint-react-server
`js
import { renderToString } from 'frint-react-server';
// import your App
import App from './path/to/core';
const app = new App();
const htmlOutput = renderToString(app);
`
---
> renderToString(app)
1. app (App): The Root App or Child App instance
String`: HTML output as a string.