-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any plan on moving to Polymer 1.0? #127
Comments
works fine, but no animations yet |
Not sure if I'm doing something wrong - but for me it's not working fine. I have a very 'simple' route, very similar to one of the examples in the readme - but with Polymer 1.0 loaded (and working fine): <app-route path="/badge/:reference">
<template>
<span>{{reference}}</span>
</template>
</app-route> but 'reference' is not updated with the value I pass in the URL. |
Note: if you're using hash-only URLs, Polymer 1.0.0-1.0.3 currently intercepts the hash, breaking routers. See: https://github.com/Polymer/polymer/pull/1780/files for the fix. |
Hi, In order to see how complicated it will be to migrate to Polymer 1.0, I've tried to migrate app-router's functional tests to Polymer 1.0, without changing anything to app-router. This means I've not migrated tests that are using core-animated-pages, or any other core-* elements. The result is available in the following branch https://github.com/plequang/app-router/tree/polymer-1.0-tests-migration Migration steps
ProblemsPolymer
|
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:
The test-session-global stuff was to test the two-way bindings in Polymer 0.5. This completely changed for 1.0. I'm not sure what we'll do here yet. |
In firefox i get: |
@devAtPolydeals that may be related to timing around upgrading the custom element. If you try to call |
You you are right, i moved it under: wonder why chrome didn't catch it? |
For info, I've just updated the tests to make them work withFirefox. Regarding the automatic initialization of app-router in the attachedCallback function, there is a difference between Chrome and "polyfilled" browser (Firefox/Internet Explorer). Considering the test-session.html test : <dom-module id="demo-app">
<template>
<!-- bind the session object to demo-app -->
<user-session session="{{session}}"></user-session>
<app-router id="router" on-state-change="stateChange">
[...] The lifecycle of the elements in Chrome is :
Whereas in polyfilled browsers :
This means in Chrome, the It is maybe a good practice to always use manual init when using app-router with Polymer 1.0. |
I've been staring at this for an hour now and I can't get it to work with 2.6.1 and Polymer 1.0:
The inline template isn't rendered. I've tried manual init with the same result. |
I'm using Polymer 1.0
and, went to the http://localhost:3000/#/order/2, the result is
|
👍 |
@Barbayar in Polymer 1.0 |
Same as @christianbauer here, inline templating is not rendering at all for me with Chrome and Polymer v 1.0.5 |
Perhaps the claim "works with Polymer" should be removed as, you know, it doesn't actually work with Polymer properly any more? |
Same results as @pensierinmusica and @s-devaney. Imports work, but inline templates do not work in Polymer 1.1. |
So will it be updated to 1.0? |
Any progress here? I currently have to use more-routing and it's really annoying as it does not seem to get any bugfixes... |
Have a look at the comment from addyosmani at Polymer/polymer-starter-kit#426 about more-routing.. |
Thank you @sandro-k , that's very interesting. |
I am currently on Polymer 0.5 & am planning on moving to Polymer 1.0. I use app-router in my current web app. Do you plan on moving to 1.0 anytime soon?
The text was updated successfully, but these errors were encountered: