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.