Can lazy loading be used with the Polymer app in Dartlang?
Since Dart 1.6 we deferred the lib load ( http://news.dartlang.org/2014/08/dart-16-adds-support-for-deferred.html ) the question is:
Is it possible to use the lazy polymer load component with the new lazy loading feature and then add dynamically to the application like this:
var newElem = new Element.tag("elem-from-deferred-lib");
+3
source to share
1 answer
Lazy Loading doesn't work with Polymer yet.
See https://www.dartlang.org/docs/spec/deferred-loading.html#can-i-use-deferred-loading-with-polymer-dart-elements (next to the last paragraph) and issue https: // code.google.com/p/dart/issues/detail?id=17873
+2
source to share