Got a repo for this now: https://github.com/ErikAndreas/pjax-ractivejs
Start from/change/extend https://github.com/thybag/PJAX-Standalone with
- CommonJS format and Browserify
- Q around Superagent for XHR Promises
- No need to support more than data-pjax equivalent attribute
- Same Ractive templates on client as well as server (Ractive is isomorphic)
- Use Ractive for rendering of client side instead of PJAX "standard" of returning/render full html (also, page title element in response is hideous) and just return data (json) from server, kind of what twitter seem to be doing