1.0.4 • Published 9 years ago

iso-app-renderer-react v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
9 years ago

iso-app-renderer-react

Renderer for react components in an isomorphic apps.

Installation

npm i --save iso-app-renderer-react

Usage

var app = require('iso-app');
var renderer = require('iso-app-renderer-react');

app().use(renderer());

API

new Renderer()

Create a new react renderer,

.attach(view, el)

Attach the view to the element and start updating the element when the view changes.

.detach()

Detach the view from the element and stop updating the element when the view changes.

.toHTML(view)

Render the view as a HTML string.

License

The MIT License (MIT)

Copyright (c) 2015 James Newell

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago