Skip to content
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

Support Polymer 3, npm and ES6 modules for Java projects #4561

Closed
3 tasks done
pleku opened this issue Aug 28, 2018 · 6 comments
Closed
3 tasks done

Support Polymer 3, npm and ES6 modules for Java projects #4561

pleku opened this issue Aug 28, 2018 · 6 comments

Comments

@pleku
Copy link
Contributor

pleku commented Aug 28, 2018

This is an epic that consists of subissues that bring Polymer 3, npm & ES6 modules support to Flow instead of Polymer 2, Bower/webjars and html imports.

@pleku pleku added this to the During 2018 candidates milestone Aug 28, 2018
@pleku pleku added the Epic label Aug 28, 2018
@pleku
Copy link
Contributor Author

pleku commented Sep 27, 2018

For clarity - at the moment this is not in plans for Vaadin 12 (December 2018) nor Vaadin 13 (March 2019). No certainty that it will be included in Vaadin 14 (June 2019) either, but that has not been planned yet and is still quite far (over six months).

@BlackIsTheNewBlack
Copy link

HTML Imports are scheduled for removal from Chrome 73, in April 2019 (https://www.chromestatus.com/feature/5144752345317376). According to caniuse.com at that moment there will be exactly no major browser with native support for HTML imports (https://caniuse.com/#search=html%20imp). That may break a number of things and possibly require updates to existing code.

@pleku
Copy link
Contributor Author

pleku commented Nov 26, 2018

That may break a number of things and possibly require updates to existing code.

Actually no, things will just keep on working because of a Polyfill that is used instead. and has been used thus far in all other browsers except Chrome.

@Legioth
Copy link
Member

Legioth commented Nov 26, 2018

The one situation where it might break is if someone has concluded that they only need to support Chrome, and therefore they have explicitly disabled the polyfills. There's still nothing we can really do about that, except maybe informing users.

@Legioth Legioth changed the title Support Polymer 3, NPM and ES6 modules instead of Polymer 2, Bower/webjars and html imports Support Polymer 3, npm and ES6 modules instead of Polymer 2, Bower/webjars and html imports Dec 5, 2018
@pleku pleku modified the milestones: Candidates, V14 Candidates Feb 4, 2019
@pleku
Copy link
Contributor Author

pleku commented Feb 12, 2019

For clarity - at the moment this is not in plans for Vaadin 12 (December 2018) nor Vaadin 13 (March 2019). No certainty that it will be included in Vaadin 14 (June 2019) either, but that has not been planned yet and is still quite far (over six months).

Just as an update: npm, Polymer 3 and ES6 modules support is currently WIP and is targeted for V14. The plan is that the old mode (Webjars/bower) will also keep work on working, so doing migration with the provided tool is optional.
There is no consensus yet which is the default mode, but deviating from it will be possible by using a deployment configuration parameter similarly like with productionMode.

@pleku pleku changed the title Support Polymer 3, npm and ES6 modules instead of Polymer 2, Bower/webjars and html imports Support Polymer 3, npm and ES6 modules for Java projects Mar 8, 2019
@pleku
Copy link
Contributor Author

pleku commented May 3, 2019

Migration tool to be finished during the platform beta period #5037.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants