Erik Ringsmuth
Erik Ringsmuth
Oh! I get what you're saying now. I thought listening for this event was only doing it on the router's `core-animated-pages` element https://github.com/erikringsmuth/app-router/blob/master/src/app-router.js#L80. I'll have to look into this.
I've seen a lot of performance issues with the core-animated-pages feature. I've spent a long time debugging the router, core-animated-pages, and Polymer trying to figure out what's going on and...
...it's a tough one and has some history here too https://github.com/erikringsmuth/app-router/issues/98. Does it push or replace state? Does it trigger custom element lifecycle events? Does it trigger router lifecycle events?...
This looks like a great start! In the end we may need to remove features that Polymer 1.0 doesn't support. To summaries your post: - Data binding to `` elements...
@devAtPolydeals that may be related to timing around upgrading the custom element. If you try to call `document.querySelector('app-router').go(...)` before the element is upgraded it will give you a dereference error....
You can do that with `onUrlChange="updateModel"`! https://erikringsmuth.github.io/app-router/#/api#onurlchange ``` html ```
I see where the problem is but I'm not sure how to fix this one. Updating the model happens here https://github.com/erikringsmuth/app-router/blob/master/src/app-router.js#L266. The problem is `setObjectProperties()` only sets properties in the...
I've never used Dart so I can't speak too well about what it would take to port it. The router is all native DOM and there aren't any dependencies on...
If it's a simple change I'll switch the project structure to work with Dart. If you create a fork with an example, that'd be awesome. Otherwise I'll get to it...
Cool! It looks like it's more complicated than a simple transpile from JS to Dart so it'll probably have to be maintained separately. Mind keeping the original license (MIT) and...