Це відео не доступне.
Перепрошуємо.

Lazy loading in angular

Поділитися
Вставка
  • Опубліковано 17 сер 2024
  • In this video we will discuss lazy loading angular modules
    Text version of the video
    csharp-video-t...
    Healthy diet is very important for both body and mind. We want to inspire you to cook and eat healthy. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking.
    / @aarvikitchen5572
    Slides
    csharp-video-t...
    Angular 6 Tutorial
    • Angular 6 tutorial for...
    Angular 6 Tutorial Text Articles & Slides
    csharp-video-tu...
    Angular, JavaScript, jQuery, Dot Net & SQL Playlists
    www.youtube.co...

КОМЕНТАРІ • 99

  • @omostan
    @omostan 4 роки тому +5

    I have always followed your tutorials whenever I have difficulties over the 10 years plus of my software development. I just cannot say thank you enough for all your help. For me, you are the best teacher I have had the opportunity to listen and view his tutorials. Where others will skip a potential problem, you will always stop, simulates the problem just to explain why it occurs in the first, and then resolves it before carrying on with rest of the tutorial. Today, you saved my day again. Many thanks to you sir and God bless!

  • @gabrielnzete8913
    @gabrielnzete8913 2 роки тому +2

    Knowing a technology stack is one thing but to excellently teach it takes a whole high level of skill. This guy can teach to the moon. He is just so good with his teaching technique. All his courses are excellently taught.

  • @80amnesia
    @80amnesia 5 років тому +44

    One day I'll fly to India to thank Venkat :-)

    • @nikachkhobadze7710
      @nikachkhobadze7710 4 роки тому +3

      Anyways, this man is really good and deserves more likes. One from me ;)

    • @HK-sw3vi
      @HK-sw3vi 4 роки тому +2

      @Girish kumar and how exactly on this cursed lands do you even fucking have that kinda private knowledge, pal?

  • @mvdlele29
    @mvdlele29 5 років тому +8

    idk if u re the best programming tutorial maker in the word but im sure u re the best indian

  • @bobbycv64
    @bobbycv64 Рік тому

    Well done Sir, I passed this video on to my Class. To the rest of the positive comments, I agree 100%.👏

  • @viplovedev
    @viplovedev 3 роки тому +2

    I have tears in my eyes because I heard this God explaining the world to me.

  • @someshnukala804
    @someshnukala804 3 роки тому

    One of the greatest Technical Gurus Sri Venkat sir.
    Thanks a lot sir

  • @toascorner
    @toascorner 3 роки тому +2

    For Angular 11 this worked for me:
    loadChildren: ()=>import('./employee/employee.module').then(mod=>mod.EmployeeModule)

  • @88spaces
    @88spaces 3 роки тому +1

    Your videos cover one topic only and don't dive into others. I like that because it allows you to focus on the task at hand. Also, you're great at presenting tutorials. Thank you.

  • @surendrareddyseelam9757
    @surendrareddyseelam9757 2 роки тому

    Yes I've been struggling on how routing among modules works and all
    These videos sorted all my doubts,
    You are ULTIMATE sir, take a bow 🙇‍♂️

  • @albertvasilev5384
    @albertvasilev5384 5 років тому +2

    I watched so many tutorials about this and no one helped me, but yours did it! Thanks a lot! :)

  • @krishtheindian
    @krishtheindian 3 роки тому +2

    This is brilliant! An art of explaining things in a simple, understandable way! Thanks a million!

  • @xperiasony8961
    @xperiasony8961 4 роки тому

    Best Teacher in the world

  • @misterperfecttube5377
    @misterperfecttube5377 4 роки тому

    Hey man you teach better than the angular documentation

  • @xdmemeguy
    @xdmemeguy 3 роки тому

    This was so beautifully and simply explained. Well done sir

  • @ganeshdivekar5042
    @ganeshdivekar5042 5 років тому +1

    Awesome explanation of lazy loading , I just started with Angular and would wonder what is the need of module when we can import components directly in other modules. But lazy loading is possible only via modules.

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  5 років тому +1

      Thank you Ganesh. Very glad you are finding this angular 6 tutorial useful. Good luck with everything.

  • @saianusha2818
    @saianusha2818 5 років тому +2

    much awaited concept..thanks alot :)

  • @prashansapriya5963
    @prashansapriya5963 2 роки тому

    Such great explanation is so rare...great work 👍

  • @nigochen6665
    @nigochen6665 3 роки тому +4

    2021 update:
    { path : 'employees', loadChildren: () => import('./employee/employee.module').then(m => m.EmployeeModule)},

  • @rakeshacharya8791
    @rakeshacharya8791 Рік тому +1

    Is it possible to implement pathlocationstrategy and hashlocationstrategy in a project at time?

  • @donbradfield5679
    @donbradfield5679 5 років тому +1

    short, simple, easy. thanks

  • @SimplyPaaruz
    @SimplyPaaruz 3 роки тому

    Great vedio .. Concept is very well explained 👍👍

  • @jayababuthumati6297
    @jayababuthumati6297 Рік тому

    Mr. Kudvenkat, why you forgot us, please start a new series on Angular latest version. waiting to listen your voice again

  • @arpitamukherjee5146
    @arpitamukherjee5146 4 роки тому

    Very nicely explained! Thanks!

  • @Akshay-Raut
    @Akshay-Raut 4 роки тому +1

    Hey Kudvenkat. Thank you for explaining this simply and well. So the #moduleName is always required? Can't Angular infer it based on the employee.module that's mentioned in the loadChildren?

    • @ankurarora5093
      @ankurarora5093 4 роки тому

      There are few npm modules which give you a single file but multiple modules packed within it. That could be the reason behind mentioning the module name.

    • @Akshay-Raut
      @Akshay-Raut 4 роки тому

      @@ankurarora5093 okay. That makes sense. Thank you

  • @GuptaPavan759
    @GuptaPavan759 5 років тому

    Thanks Sir for clearing every single point in your video.

  • @limontuzuxxx
    @limontuzuxxx 3 роки тому

    Dude your examples are really easy to comprehend, do you have any tutorials on the bigger platforms like Udemy or Pluralsight?

  • @GajavelliAdarsh
    @GajavelliAdarsh 5 років тому

    just excellent.. that is what i am looking for.

  • @chaitanyapai8245
    @chaitanyapai8245 4 роки тому

    Very good explanation sir. Thank u very much.

  • @sravyaparsi7952
    @sravyaparsi7952 4 роки тому

    when we remove employes path, it doesn't satisfy 1st condition of lazy loading. You can simply use ../employees which moves one step backward while loading url

  • @Prasad368
    @Prasad368 4 роки тому

    Explained so well. Thank you.

  • @venkatasudheer2222
    @venkatasudheer2222 4 роки тому

    You did mentioned that for lazy loading the module, all routes should share same route prefix. But you did remove the route prefix in the employee routing module, while lazy loading the employee module, as you don't want 'employees' keyword to be repeated in the URL twice. Then why do you say that the modules should share same route prefix?

  • @JayGrant
    @JayGrant 3 роки тому

    great video, learn a lot thanks

  • @janijohn5945
    @janijohn5945 2 роки тому

    I got a doubt, the first point to last load is we have to have same route prefix , but to remove the duplicates in link u remove that path from employee module ??? So that first point is removed ?

  • @azharudeenshaikabdulkhader7832
    @azharudeenshaikabdulkhader7832 4 роки тому

    Simply awesome, thanks for the video

  • @MrAnasSov
    @MrAnasSov 5 років тому +1

    The best thank you so much

  • @trishalwalia4086
    @trishalwalia4086 4 роки тому

    Thanks for the wonderful video :)

  • @M7MDAL6OBASI89
    @M7MDAL6OBASI89 4 роки тому

    Thank you from my heart 🌸♥️

  • @AmirKMilbes
    @AmirKMilbes 5 років тому

    Thank you so much for your classes, sir.

  • @msurya1090
    @msurya1090 5 років тому

    Very clear explanation... Thank you

  • @poloptree2
    @poloptree2 4 роки тому +1

    For anyone wondering why this isn't working for you, check your Angular version. If you are at v9 you need to use this method instead to load your modules. angular.io/guide/lazy-loading-ngmodules

    • @phaniraj434
      @phaniraj434 3 роки тому

      Thanks. I have modified the path as below and it worked .
      {
      path: 'employees',
      loadChildren: () => import('./employee/employee.module').then(m => m.EmployeeModule)
      },

  • @gagandeepsingh6126
    @gagandeepsingh6126 5 років тому +1

    Sir please make videos on ssis,ssas,ssrs.

  • @iroshanaravishan1388
    @iroshanaravishan1388 2 роки тому

    Superb👏

  • @kirens8897
    @kirens8897 4 роки тому

    This is very nice. Thanks

  • @rahulkamboj4603
    @rahulkamboj4603 5 років тому

    You will go places... keep it up.. much appreciated 👍

    • @akhilvenkat1877
      @akhilvenkat1877 5 років тому

      Excellent tutorials, thanks you soo sir.

  • @ankurarora5093
    @ankurarora5093 4 роки тому

    Thanks Venkat 🙏🏻

  • @nikachkhobadze7710
    @nikachkhobadze7710 4 роки тому +1

    I find this tutorial very useful, thank you for that. I have one question if anyone can answer: is this method still supported in angular 8? Or it is a legacy method already? Thank you!

    • @nasrhussain9457
      @nasrhussain9457 4 роки тому

      There is a minor syntax change. Search for Angular 8 lazy loading video.

    • @jorgumbricht2537
      @jorgumbricht2537 4 роки тому +3

      For Angular 8 use in app-routing.module.ts:
      { path: 'employees', loadChildren:()=>import( './employee/employee.module').then (m=>m.EmployeeModule) },

    • @shaikshalibasha7115
      @shaikshalibasha7115 4 роки тому

      @@jorgumbricht2537 thanks alot :)

    • @surendrareddyseelam9757
      @surendrareddyseelam9757 2 роки тому

      @@jorgumbricht2537 thanks brother

  • @gkmishra2009
    @gkmishra2009 5 років тому +1

    How calling token based authentication from angular to web api>>?

  • @surajjagtapRider
    @surajjagtapRider 5 років тому +1

    Thank you sir

  • @fed4wet
    @fed4wet 5 років тому

    Perfect, thanks!

  • @sergeyz4591
    @sergeyz4591 5 років тому

    Thank you!

  • @nys8260
    @nys8260 3 роки тому

    thanks

  • @manasabojja9326
    @manasabojja9326 3 роки тому

    How u r doing string based lazyloading without adding routes in tsconfig

  • @annakh9543
    @annakh9543 3 роки тому

    superb

  • @abhayjeetsingh3376
    @abhayjeetsingh3376 5 років тому

    How can we make SEO friendly angular app sir as we can't see meta tags info in source code

  • @SoorajT
    @SoorajT 5 років тому

    Thank you so much

  • @mdabuzar2130
    @mdabuzar2130 5 років тому

    Sir.. Please One video on interceptor.

  • @a_n_m3516
    @a_n_m3516 5 років тому

    Can someone answer this -
    If we remove the parent path employees, we are breaking the first requirement i.e. all the routes in module to lazy load should have the same prefix.
    Then how does it work?

    • @jeffbroadhurst4871
      @jeffbroadhurst4871 5 років тому +1

      aly M I was wondering that too.

    • @TravelPrince1986
      @TravelPrince1986 4 роки тому

      Same. He has done something which he didnt shared.
      How can it work when we already removed employees prefix.
      He should answer this

    • @nasrhussain9457
      @nasrhussain9457 4 роки тому +1

      They all still have the same prefix, it is just placed in the main routing file instead of the local one.

    • @nys8260
      @nys8260 3 роки тому

      '' = the same prefix

  • @kandimallasuresh5059
    @kandimallasuresh5059 4 роки тому

    What is the difference between the ViewChild and ContentChild?

  • @TarunKumar-gh9mr
    @TarunKumar-gh9mr 5 років тому

    I have a doubt regarding routing in a lazy loading modules

  • @ibknl1986
    @ibknl1986 5 років тому

    Thanks for sharing the video

  • @lachphalleak2459
    @lachphalleak2459 3 роки тому

    Thanks sir. Do you code this tutorial in GitHub?

  • @gkmishra2009
    @gkmishra2009 5 років тому

    can you explain what is intercepter ??

  • @nirmalarani9139
    @nirmalarani9139 4 роки тому

    Hi ,How to do performance tuning in angular with typescript

  • @archanakandukoori809
    @archanakandukoori809 5 років тому

    sir...do node js tutorial as well if possible...

  • @eddiezhu9376
    @eddiezhu9376 5 років тому

    exactly what I want to know

  • @gkmishra2009
    @gkmishra2009 5 років тому

    diff between directive and component ??

  • @saianusha2818
    @saianusha2818 5 років тому

    please make a video for the forroot and forchild difference

    • @ihsanullah4058
      @ihsanullah4058 5 років тому

      These topics are discussed by one of sir kudvenkat see in this series. And there differences.

  • @peterl1699
    @peterl1699 5 років тому

    Great

  • @sandeepmaurya4978
    @sandeepmaurya4978 4 роки тому

    Hello sir ji... I need this code.. please help me with this

    • @syedirfan3616
      @syedirfan3616 4 роки тому

      You can clone or download the source code from my GitHub account using the below link. Hope this helps.
      github.com/sirfan24/Angualr-6-Project.git

  • @gkmishra2009
    @gkmishra2009 4 роки тому

    please help explain below topic of angular ->
    ChangedetecorRef
    TemplateRef
    ViewContainerRef
    ElementRef
    RXJS operators
    Host listener
    host binding
    CDK Portal
    QueryList
    DOM Portal host
    Portal template
    Application ref
    AG Grid tutorial
    Subject
    behavious subjects
    Forward Ref
    WithLatestFrom
    Content Child
    Overlay
    Overlayref
    ChildrenOutlet Context
    Navigation Extras
    NGRX
    FakeAsync

  • @manit77
    @manit77 4 роки тому

    A bit confusing on your explanation on this the topic. It's just a route created for a sub module.

  • @patrickmarckdulaca545
    @patrickmarckdulaca545 4 роки тому

    When I removed the employeeModule inside of appModule. I got this error on employeeModule class name that looks like this ---> Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning.ts(1219)

  • @lichaytiram9246
    @lichaytiram9246 4 роки тому

    sound cool but don't work

  • @jenithjana5178
    @jenithjana5178 3 роки тому

    core.js:5980 ERROR Error: Uncaught (in promise): Error: Cannot find module './employee/employee.module' Error: Cannot find module './employee/employee.module'
    solution:
    stackoverflow.com/questions/41396839/exception-uncaught-in-promise-error-cannot-find-module-app-home-home-modul

  • @GajavelliAdarsh
    @GajavelliAdarsh 5 років тому

    just excellent.. that is what i am looking for.

  • @belmiris1371
    @belmiris1371 5 років тому

    Thank you!

  • @haseebbutt8185
    @haseebbutt8185 5 років тому

    Thanks Sir