visionmedia / page.js

Micro client-side router inspired by the Express router
http://visionmedia.github.com/page.js
7.67k stars 687 forks source link

'prevContext' on hash change not set properly #574

Open thamsrang opened 3 years ago

thamsrang commented 3 years ago

Hi, ctx.page.prevContext not set on hash change in current path. This is not working between hash change between hashes and from path to hash.

For example:

In this above transition both ctx and ctx.page.prevContext are same.