inferno-server
TypeScript icon, indicating that this package has built-in type declarations

8.2.3 • Public • Published

inferno-server

Inferno package for working with the server

This package serves as the entry point of the Server-related rendering paths. It is intended to be paired with the isomorphic Inferno, which will be shipped as inferno to npm.

Install

npm install inferno inferno-server

Contents

  • renderToString
  • RenderQueueStream
  • RenderStream
  • renderToStaticMarkup
  • renderToString
  • streamAsStaticMarkup
  • streamAsString
  • streamQueueAsStaticMarkup
  • streamQueueAsString

Usage

import { renderToString } from 'inferno-server';

renderToString(<div>Hello world</div>, container);

/inferno-server/

    Package Sidebar

    Install

    npm i inferno-server

    Weekly Downloads

    43,972

    Version

    8.2.3

    License

    MIT

    Unpacked Size

    180 kB

    Total Files

    19

    Last publish

    Collaborators

    • longlho
    • nightwolfz
    • lukesheard
    • trueadm
    • havunen