vstack-router
v0.5.2
Published
Universal router
Downloads
11
Readme
vstack-router
Universal router
router
convertlocation
changes toscreen
changes using singletransition
function.location
is an object that represent somehistory
action.history
is a universal abstraction on session history.screen
is an object that represent UI of somelocation
.transition
is a function that trying to eventually satisfy a location.transition
could be combination of othertransition
functions.transition
calls are synchronised via queue, butrouter
skips tasks in the middle of the queue, because they are unreachable.