Connect/express middleware to serve react-async components
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.jshintrc
LICENSE
Makefile
README.md
index.js
package.json
specs.jspc

README.md

react-async-middleware

Connect/express middleware to serve react-async components.

var express           = require('express')
var ReactMiddleware   = require('react-async-middleware')
var React             = require('react')

var App = React.createClass({
  ...
})

express()
  .use(ReactMiddleware(App))
  .listen(3000)