No Partying Mariachis

    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 />);

    Keywords

    none

    Install

    npm i rax-server-renderer

    DownloadsWeekly Downloads

    273

    Version

    1.4.1

    License

    BSD-3-Clause

    Unpacked Size

    146 kB

    Total Files

    25

    Last publish

    Collaborators

    • zeroling
    • wintercn
    • yuanyan
    • yacheng
    • rax-publisher