Along with better API docs the page.js 1.2.0 is released, the client-side micro router.
The additions are subtle, the first is a
ctx.querystring property exposing the query string, followed by the complimenting
ctx.pathname to reference the
ctx.path void of query string. @ovaillancourt also added support for passing query strings in the first place, which was arguably a bug, and added
.defaultPrevented support to opt-out of page’s handling (as well as browser defaults of course).