2 ms·
https://github.com/visionmedia/page.js https://github.com/visionmedia/page.js looks pretty simple. I supposed you are not using it for the server-side rendering
by ChrisCinelli 10y ago
https://github.com/visionmedia/page.js https://github.com/visionmedia/page.js looks pretty simple. I supposed you are not using it for the server-side rendering. Or you have a route in express for any route on page.js. Correct?
- wesleytodd 10y agoIf you are interested, that link I posted above, Nighthawk, actually is a port of Page.js for its dom and pushstate handling wrapping the Express router, so it is just as simple. Here is the bulk of the code taken from page.js: https://github.com/wesleytodd/intercept-link-clicks/blob/master/index.js https://github.com/wesleytodd/intercept-link-clicks/blob/mas...