-
Notifications
You must be signed in to change notification settings - Fork 510
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
Angular 1.5 & ocLazyLoad #138
Comments
Wow, didn't think of those edge cases. I'm excited about your system integration!!!!!! |
👍 👍 👍 |
I see that you're working on that angular issue too. I think if you can convince them to integrate your functionality directly into angular, that would be most ideal. |
They won't (I already asked them) because my solution can lead to unexpected results. |
I guess my view is that it would less of a hack if it the functionality was integrated directly. No monkey patching angular.module/bootstrap(). ;-) |
Yes, but they say that it can lead to unexpected results that would be hard to debug. I guess that they prefer something with no bugs :) |
Super looking forward to the SystemJS implementation! I punted on using this library because the future states and ui-router extras was just too much boilerplate for an existing app. |
@dmackerman check out my implementation. i've narrowed the gap somewhat - https://github.com/Swimlane/angular-systemjs-seed |
@dmackerman listen to @amcdnl =) |
Yep the work from @amcdnl is really good for systemjs :) |
Given that this issue is very old already, what is the current status on this? Angularjs 2 is still a bit far away, plus many 3rd party plugins wont be ready for it soon so we will get stuck with Angular 1 for at least another 6 months and in the mean time it would make much sense to find a solution for 1.x instead of waiting for 2.x to mature. |
They postponed the lazy loading part of angular 1.5 to an unknown version (probably never) :( |
Too sad. I'm keen on migrating to angular2 soon for the chance to use lazy load, but seems like it's stll a bit too early for this (even with the beta 2 version). I have too many angular 1 module right now. I wonder if there is any online demo that shows how angular 1 and 2 can run side by side? I have seen this mentioned lots of time without seeing any real world example |
@yellow1912 A2 can not lazy load out of the box, I'm sure @ocombe could elaborate more though. I'd avoid the upgrade for now, the code d/l is like 700+ kb right now. They plan to trim it down by release but thats a lot of weight...and not to mention the moving target API. |
You can lazy load in Angular 2 but it's a bit tricky right now, I might work on a lib to do that one day (but I have many things on my plate right now). @amcdnl I don't use gitter (and didn't receive any invite?), you can find me on the angular buddies slack, or on gtalk (olivier.combe@gmail.com) or twitter |
what is the main reason for that? do you know? |
Lack of man power, and Angular 2 coming soon with the ability to lazy load |
Damn, i'm sad to hear that :( |
@amcdnl wrote:
As you may know, Angular 1.5 will include the possibility of lazy loading components. The draft is here.
The proposed implementation will be:
Scenarios that this won't cover:
Also I'm working on new things for ocLazyLoad such as:
As you can see, ocLazyLoad will still be useful once Angular 1.5 is out :)
The text was updated successfully, but these errors were encountered: