andreypopp/react-async-middleware — pull request #1 by natew (2014-02-10 07:07:36+00:00)
Title: Allow passthrough

This allows someone to wrap a layout with express. Not sure if doing this the best way, but see implementation [in this repo](https://github.com/natew/reactor), specifically the app/server.js. Something like this:

.use(ReactMiddleWare(App))
.use(function(req, res, next) {
var response = fs.readFileSync(layout).replace('

', '

' + res.body);
res.send(response);
})

Would be interested in learning a better way to allow this.