I have reworked Router in the feature/router branch to be more PAYG and I think 
it ended up more expressive and powerful.

Router can be declared with different behavior beads to handle different 
routing needs.

There’s currently:
StateRouting which automatically has two way syncing of the state and the route.
ComponentRouting which automatically adds and removes components based on the 
route.
ParameterRouting which executed functions depending on the specified parameters.
Title is handled in a bead too.


I still need to finish the following:
1. Catch hash links and redirect without reloading the window. There’s a 
skeleton bead for this, but it’s not yet functional.
2. Sub-hash routing which scrolls to a specific window position based on hash.

I’m open to other suggestions.

I believe the branch is ready to merge, but I’m not sure if Maven will 
currently build (specifically because I changed Storage and it now relies on 
Network and in turn Reflection). If one of the Maven folks could confirm, I’d 
appreciate it.

Thanks,
Harbs

Reply via email to