app-router icon indicating copy to clipboard operation
app-router copied to clipboard

Move codebase to ES6 with support for System.import'ing routes

Open jmalonzo opened this issue 8 years ago • 5 comments

jmalonzo avatar Jul 25 '16 05:07 jmalonzo

Sounds very interesting! Are you going to use a polyfill? Also wondering if that change would be compatible with Polymer.

web-padawan avatar Jul 26 '16 08:07 web-padawan

Yeah. System.import is also included in webpack@2.

I think might be worthwhile to split the build into polymer and non-polymer builds.

jmalonzo avatar Aug 03 '16 22:08 jmalonzo

I'm all for this. HTML import seem like it's dead since Chrome is the only browser that supports it natively. I'd be happy seeing this converted to System.import, ES6 modules, and rip out all the Polymer animated pages stuff.

It's been a while since I've looked at the custom element spec. It might be worthwhile to get it up to custom elements 1.0 with ES6 classes and whatever else changed. The fewer polyfills needed in the end, the better!

erikringsmuth avatar Aug 05 '16 03:08 erikringsmuth

Does anyone have an update on an ES6 version?

itsMattShull avatar Dec 01 '16 21:12 itsMattShull

@derekshull no update yet but it shouldn't take that long to migrate.

jmalonzo avatar Dec 01 '16 22:12 jmalonzo