Re: [royale-asjs] branch develop updated: Added Router

2020-01-20 Thread Alex Harui
Carlos, ANT does not force all libs. Royale has chosen to provide a default configuration that provides most libs. Royale provides other configurations with subsets of libs, as well as one with "all". The user can specify their own set of libs. Folks who like Maven don't like the lack of

Re: [royale-asjs] branch develop updated: Added Router

2020-01-20 Thread Carlos Rovira
Hi Alex, I think one of the problems is something I just get to know recently in other discussion. With ANT all SWCs are available. With Maven you set dependencies when you need it. I don't like how ANT manages it (don't know if is something we set that way, or something ANT imposes). I think

Re: [royale-asjs] branch develop updated: Added Router

2020-01-20 Thread Alex Harui
On 1/20/20, 10:13 AM, "Carlos Rovira" wrote: Hi, don't think so. I don't use Express at all. But will use Router, and I think many others will do. I see it as a Basic bead, since Express is a UI Set for preconfigured Basic components. but don't see a need to make

Re: [royale-asjs] branch develop updated: Added Router

2020-01-20 Thread Harbs
I like that idea. > On Jan 20, 2020, at 8:13 PM, Carlos Rovira wrote: > > Other thing could be to create a new library ("Routing"), that could have > all implementations (easy, and advanced)

Re: [royale-asjs] branch develop updated: Added Router

2020-01-20 Thread Carlos Rovira
Hi, don't think so. I don't use Express at all. But will use Router, and I think many others will do. I see it as a Basic bead, since Express is a UI Set for preconfigured Basic components. but don't see a need to make an App like TDJ, add express lib to the set of needed libraries just for one

Re: [royale-asjs] branch develop updated: Added Router

2020-01-20 Thread Alex Harui
On 1/20/20, 9:27 AM, "Harbs" wrote: Yeah. I thought about subclassing HashChangeNotifierBead and the version with Title, but almost all the code would have needed to be overridden (i.e. I’m auto-stipping off the hash, etc.), so I decided to write it from scratch. The bead was

Re: [royale-asjs] branch develop updated: Added Router

2020-01-20 Thread Alex Harui
Nit-picky comments: 1) there is already a bead that watches location.hash. It might be worth using it to share code 2) forward/backward/go/title doesn't seem PAYG to me. I can imagine lots of users won't need it, or might use it independently of routing (especially Title). My 2 cents, -Alex