rax-server-renderer

1.4.1 • Public • Published

rax-server-renderer npm Dependency Status Known Vulnerabilities

Rax renderer for server-side render.

Install

$ npm install --save rax-server-renderer

Usage

import {createElement, Component} from 'rax';
import renderer from 'rax-server-renderer';

class MyComponent extends Component {
  render() {
    return <div>Hello World</div>;
  }
}

renderer.renderToString(<MyComponent />);

Readme

Keywords

none

Package Sidebar

Install

npm i rax-server-renderer

Weekly Downloads

411

Version

1.4.1

License

BSD-3-Clause

Unpacked Size

146 kB

Total Files

25

Last publish

Collaborators

  • zeroling
  • rax-publisher