Hi Harbs, great work! Please can you generate docs [1] for this? Andrew and I can do something, but will always be worst than what you can add, since you did it.
About maven build, can you add this to pom.xml in Storage: <dependency> <groupId>org.apache.royale.framework</groupId> <artifactId>Network</artifactId> <version>0.9.7-SNAPSHOT</version> <type>swc</type> <classifier>js</classifier> </dependency> and this other to profile "option-with-swf": <dependency> <groupId>org.apache.royale.framework</groupId> <artifactId>Network</artifactId> <version>0.9.7-SNAPSHOT</version> <type>swc</type> <classifier>swf</classifier> </dependency> and merge? I then can try to build develop and check if something is wrong and fix it Thanks! [1] https://apache.github.io/royale-docs/get-started El lun., 10 feb. 2020 a las 14:03, Harbs (<[email protected]>) escribió: > 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 -- Carlos Rovira http://about.me/carlosrovira
