Socket
Book a DemoInstallSign in
Socket

frint-react-server

Package Overview
Dependencies
Maintainers
9
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frint-react-server

Server-side React package for Frint

latest
Source
npmnpm
Version
5.7.2
Version published
Weekly downloads
54
17.39%
Maintainers
9
Weekly downloads
 
Created
Source

frint-react-server

npm

Server-side React package for Frint

Guide

Installation

$ npm install --save react react-dom prop-types frint-react frint-react-server

Usage

import { renderToString } from 'frint-react-server';

// import your App
import App from './path/to/core';

const app = new App();
const htmlOutput = renderToString(app);

API

renderToString

renderToString(app)

Arguments

  • app (App): The Root App or Child App instance

Returns

String: HTML output as a string.

Keywords

frint

FAQs

Package last updated on 11 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts