0.5.2 • Published 5 years ago
vstack-router v0.5.2
vstack-router
Universal router
routerconvertlocationchanges toscreenchanges using singletransitionfunction.locationis an object that represent somehistoryaction.historyis a universal abstraction on session history.screenis an object that represent UI of somelocation.transitionis a function that trying to eventually satisfy a location.transitioncould be combination of othertransitionfunctions.transitioncalls are synchronised via queue, butrouterskips tasks in the middle of the queue, because they are unreachable.