Slob is made of an utility MVC framework made of Backbone Models and Collections, and React components as Views, and a middleware to render them and send their data to the client as JS objects.
npm install slob
Slob is inspired by the Twitter enginnering blog article Improving performance on twitter.com regarding the need to be able to render content both client-side and server-side, and the Airbnb Nerd blog article Our First Node.js App: Backbone on the Client and Server for ideas reagarding the implementation.
The Airbnb team realeased their Rendr librairy, but I wanted something much simpler, as I only needed to render the HTML content of some views and pass along the corresponding data to the client app.
Work in progress
This code is still in very early development, it requires lots of testing and is not appropriate for production applications.
MIT - See LICENSE file