Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

vslinko/vstack-router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vstack-router

Universal router

  • router convert location changes to screen changes using single transition function.
  • location is an object that represent some history action.
  • history is a universal abstraction on session history.
  • screen is an object that represent UI of some location.
  • transition is a function that trying to eventually satisfy a location.
  • transition could be combination of other transition functions.
  • transition calls are synchronised via queue, but router skips tasks in the middle of the queue, because they are unreachable.

About

Universal router

Resources

License

Stars

50 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors