Angular Router - The Basics and Beyond

Поделиться
HTML-код
  • Опубликовано: 10 дек 2024

Комментарии • 105

  • @love-the-truth777
    @love-the-truth777 6 лет назад +40

    These 12 minutes are so packed, if I didn't know most of the concepts already before I would have to watch every minute 10 times. But really good and useful information!

    • @mparagames
      @mparagames 2 года назад +1

      still, it's good that it gets straight to the point, i use react but never use angular before so i was a little bit confused on how to create routing at first

    • @simbarashemaunga5575
      @simbarashemaunga5575 2 года назад

      He makes tuts for people that can already code lol

  • @Fireship
    @Fireship  6 лет назад +18

    Hey everybody, this is installment #3 of Angular Basics. Let me know what topics you want to see next in this series :)

    • @carrillocarlosce
      @carrillocarlosce 6 лет назад +4

      It would be great a tutorial about joining observables and working with async pipe in the templates, use 2 async pipes in a *ngIf or some workaround for this, nested async pipes all this stuff

    • @canofsteam
      @canofsteam 6 лет назад +1

      More on resolvers would be great.

    • @mohammadzahid4390
      @mohammadzahid4390 6 лет назад +1

      Tensorflow.js is a hot topic.. some more videos on that would be great..!

    • @mateja176
      @mateja176 6 лет назад +2

      A video on modules would be great, for example when and why use core and shared modules etc.

    • @aakashthakur1415
      @aakashthakur1415 6 лет назад +2

      Angular SSR and PWA if you could cover would be great!!

  • @mattthomas8589
    @mattthomas8589 2 года назад +12

    You honestly have a gift my friend. The level of understanding you have is inspiring, but you also have this ability to teach in a way that takes into consideration questions that both newcomers and veterans will likely have and to cover them seamlessly in your content. Well done

  • @tonysmarks3578
    @tonysmarks3578 5 лет назад +86

    I was like , oh! I can learn some from router, and then I was like what's firebase? how did you inject firestore? what is switchmap ??? ?????? WHAT????

    • @erwincalayag9463
      @erwincalayag9463 4 года назад

      LMAO!!!

    • @Andrei-xb1pz
      @Andrei-xb1pz 3 года назад

      Haha...
      Yea, now I understand why people like React (also Vue.js)

    • @lubomirpacheliev363
      @lubomirpacheliev363 3 года назад +1

      @@Andrei-xb1pz yeah, angular is a bit of a hassle to learn, but imo as someone who is a react phanatic angular is also worth your time to make into one of your assets

    • @zee_12
      @zee_12 3 года назад

      @@Andrei-xb1pz Actually react sucks

  • @oneofthenicks2885
    @oneofthenicks2885 2 года назад +3

    I've been trying to troubleshoot for hours as to why my app would sometimes flash a blank screen between routes. The course I started learning angular from was legitimately using hrefs instead of routerLink directives as the links to the routes, so I thought that was the normal way.
    Thank you so much, my eyes have been opened.

  • @kornelsiket3420
    @kornelsiket3420 6 лет назад +26

    Wish I could have learned all these things by your videos. You manage to pack a whole series worth of things into single videos. :)

    • @Fireship
      @Fireship  6 лет назад +22

      That's my goal :) I try to spare people the lost time sitting through a 5hr course.

  • @natura-g5i
    @natura-g5i 3 года назад +1

    This video really provides a ton of information. It's almost twelve minutes long, but I spent almost 1 hour to understand it. It will be helpful if you draw what he's saying.

  • @errolschmidt3762
    @errolschmidt3762 6 лет назад

    Yesterday I was searching for a really good video on the router. And then it appeared at the top of the list! Thanks!

  • @malikevans3525
    @malikevans3525 6 лет назад +1

    Dude your presentation and delivery are unmatched.

  • @mbusilukhele5809
    @mbusilukhele5809 2 года назад

    Now that was faster than going through documentation, thanks buddy.

  • @mateja176
    @mateja176 6 лет назад +7

    Prefetching the data for other child routes is such a cool idea! However, for lazy loaded routes the resolver is well, lazy. How would you prefetch data in this case?

  • @carrillocarlosce
    @carrillocarlosce 6 лет назад +3

    Angular Firebase always right to my needs XD thanks

    • @Fireship
      @Fireship  6 лет назад

      Awesome, thanks for watching!

  • @davidtheprogrammer
    @davidtheprogrammer 6 лет назад +1

    Love your videos bro! You always do a great job presenting the ideas in a simple way that even a beginner like me can get.

  • @TheEbencarljo
    @TheEbencarljo 5 лет назад

    I've been looking for resolve since a while, that helped me. Thanks.

  • @bensonmwaura9494
    @bensonmwaura9494 6 лет назад +1

    Great insights. Nice touch on making the guard reusable...this coupled with SEO & genius!

  • @oleersoy6547
    @oleersoy6547 6 лет назад +11

    "We ain't found S!#T!" Nice touch on the 404 page :)

  • @Bielik20
    @Bielik20 6 лет назад +2

    Great video, got one question though. Firebase gives us this nice change detection if someone else makes changes. When using resolver we loose that functionality. How could we use power of resolver while still maintaining ability to listen for somebody else changes?

  • @siyedyoussef3202
    @siyedyoussef3202 6 лет назад +1

    Great vidéo as Always 👍👍👍

  • @mateja176
    @mateja176 6 лет назад +1

    Man, that new logo is as hot as (angular)fire!

    • @Fireship
      @Fireship  6 лет назад

      Thank you Mateja :)

  • @jthies73
    @jthies73 4 года назад

    I love your videos so much!! Thank you for putting in the effort =)

  • @jonathanmcalexander2778
    @jonathanmcalexander2778 6 лет назад +63

    is it me, or does this guy speak too fast? im like pausing every 3 seconds trying to comprehend what he said.

    • @marcelotorreblanca9276
      @marcelotorreblanca9276 5 лет назад +1

      you really need to have hands on experience to get all what he says, I'll recommend to any other viewer (for I believe you now understand what Jeff says, as this comment was 10 months ago), going to his page and ask for his Angular Fire Book. It amazing and can help you going on track.

    • @dnav10
      @dnav10 5 лет назад +4

      I watched this video a couple days ago. "Hoping to understand routing" I just got confused. Today I was trying and failing to make routers work, then I came back to watch this.. and I finally have a good grasp about routing!

    • @eugenenovikov671
      @eugenenovikov671 5 лет назад +2

      me too pausing every 3 seconds on all this course

    • @pluraltest9242
      @pluraltest9242 5 лет назад +1

      It's just you

    • @marcinjarzebski9446
      @marcinjarzebski9446 5 лет назад +2

      The speaker calms down when on 0.75 speed. He actually sounds really relaxed like this.

  • @nickstylezmedia
    @nickstylezmedia 5 лет назад

    @Fireship At 10:50 you are using `valueChanges()` and `first()` but I am using `snapshotChanges()` because I need the actual document ID from Firebase. How to use `first()` then and what exactly is that?

  • @webmaster4095
    @webmaster4095 5 лет назад

    Thanks for your lessons.

  • @nekoma_mono
    @nekoma_mono 11 месяцев назад

    🎯 Key Takeaways for quick navigation:
    00:05 🚋 *Ethical dilemma scenario presented: Trolley dilemma with potential harm to five workers.*
    00:52 ⚖️ *Discussion on the moral complexity of choosing to harm one person to save five others.*
    01:06 💔 *Caution against the ethical implications of killing an innocent person, even for a seemingly noble cause.*
    01:28 🤔 *Reflection on the consequences, turning the familiar into something strange and irreversible.*
    03:24 🎵 *The video transitions into a musical segment, shifting focus from ethical discussions to experimental sound design.*
    Made with HARPA AI

  • @chfr
    @chfr 2 года назад

    I wish this video could've talked about how to set the title tag with routes.

  • @DerJP
    @DerJP 6 лет назад +5

    Hey :) Love your videos!
    Could you tell me what the background music is called? Thank you.

    • @Fireship
      @Fireship  6 лет назад +2

      Thank you :) You can find it here audiojungle.net/item/ambient-deep-loop/19729970?s_rank=2

    • @DerJP
      @DerJP 6 лет назад +4

      Angular Firebase finally... Thanks a lot! :D

  • @pandarzzz
    @pandarzzz 6 лет назад

    Thank you for sharing this informative video! 🐯🖐🏻

  • @zoojs
    @zoojs 4 года назад

    Thanks a lot! Very informative video

  • @aCitizenJOSerased
    @aCitizenJOSerased 10 месяцев назад

    Hi Jeff. At 2:51 how do import the detail component with one click?

  • @gronavet
    @gronavet 4 года назад

    very good tutorial. best watched at a speed of 0.75.

  • @sourishdutta9600
    @sourishdutta9600 6 лет назад

    Do a video on Angular change detection.

  • @camiloandreselguetabasso2429
    @camiloandreselguetabasso2429 6 лет назад

    muchas gracias! justo lo que necesitaba :)

  • @jojogoeschile1195
    @jojogoeschile1195 5 лет назад

    Hi Fireship,
    is there anything you have to consider whilst "serving" the Project? Because I coded all right and even downloaded and tested die Angular "Tour of heroes" and the Routing doesn´t work. I tried to install Angular on a second Laptop. Didn´t work either. It just works with the "href" command but not with "routerLink". Do have any idea why?

  • @sourishdutta9600
    @sourishdutta9600 4 года назад

    Hi Jeff!! Is there any way we can achieve like, After login depending on the user like it’s a customer or an Admin, we will load all the respective modules using custom Preloading strategy. Like I want to load only login module for the first case after login depending on user type it will load respective modules ?? Thank You so much :)

  • @sachinmishra7692
    @sachinmishra7692 6 лет назад

    Will router children attributes support host and hostcontext for the subsequent components ? If yes could please make a video on that

  • @DanielRLuke
    @DanielRLuke 6 лет назад +2

    Now you're cutting into Deborah Kuratta's territory...

    • @Fireship
      @Fireship  6 лет назад

      Hey Daniel, long time no see. Is that good or bad? Looks like she does long-format courses...

    • @DanielRLuke
      @DanielRLuke 6 лет назад +1

      Oh, I was kidding. She has a deep dive on the router over at Pluralsight.

    • @Fireship
      @Fireship  6 лет назад

      Oh gotcha.

  • @seanghay_yath
    @seanghay_yath 6 лет назад

    Hey Angular Firebase, I would like to ask you a question related to Angular Router. What if I want to redirect the landing page '/' to other URL based on **User Roles** how could I do?
    Admin -> '/admin'
    User -> '/user'

  • @TheCodebookInc
    @TheCodebookInc 5 лет назад

    Hey, I needed help in generating question and answer form application where questions are coming form the backend. Can you show it on your videos. just the basic ides would be great. and I don't wanna make form for each question.

  • @daniellaerachannel
    @daniellaerachannel 6 лет назад

    Great, awesom tutorial, thank s a lot! can you do please more ionic angular tutorial? or some cross platform /PWA applications? thanks !!!

    • @Fireship
      @Fireship  6 лет назад +1

      Yes, expect an Ionic v4 tutorial very soon

    • @daniellaerachannel
      @daniellaerachannel 6 лет назад

      can't wait for that! thanks!!

  • @paradix847
    @paradix847 4 года назад

    What's that font called that you're using in the webapp.

  • @adhivenkatesh3431
    @adhivenkatesh3431 5 лет назад

    Nice video , did you create any video for global error handling using angular 7 , if it is please share the code with video link , thank you .

  • @wazbat1
    @wazbat1 5 лет назад

    Huh. I've followed this to a T and it doesn't work. I get an error stating that query(":enter, :leave") returned 0 results

  • @ofershaham1525
    @ofershaham1525 4 года назад +1

    The last 60 seconds includes a music which is really disturbing while trying to follow your explanation.

  • @ekhmoi4552
    @ekhmoi4552 6 лет назад

    Liked & Subscriber. Good Luck!

  • @eugenenovikov671
    @eugenenovikov671 3 года назад +3

    it is not basic router, it is advanced router, u deceive us

  • @TT-pu1lw
    @TT-pu1lw 4 года назад

    Can anybody tell, how to preserve query parameters on browser reload ?

  • @Dr3nzi
    @Dr3nzi 2 года назад

    Actually someone that knows what Anuglar does

  • @phiquang8503
    @phiquang8503 5 лет назад

    What is color theme ?

  • @ezekieltojoshan
    @ezekieltojoshan 6 лет назад +3

    That's why I still using angularjs. Lot's easier. Love it btw but I can't understand a single line of code.

    • @Fireship
      @Fireship  6 лет назад +6

      I started with AngularJS and vanilla JavaScript. It takes time to get used to TS, but once you do you will never look back.

  • @bumpwavy
    @bumpwavy 3 года назад

    im getting this: If 'router-outlet' is an Angular component, then verify that it is part of this module.

  • @PAVANKUMAR-vj8oi
    @PAVANKUMAR-vj8oi 3 года назад

    vscode theme name ?

  • @blackclover5561
    @blackclover5561 6 лет назад

    Is this the same as MVC5?

    • @Fireship
      @Fireship  6 лет назад

      No, it's quite different AFAIK

  • @codingmutant9066
    @codingmutant9066 4 года назад

    he is fast...even for robots

  • @matheuscosta5330
    @matheuscosta5330 6 лет назад

    Thats awesome thanks very much

  • @qwertt14
    @qwertt14 4 года назад

    I definitely didn't understand PreloadGuard hahah

  • @armandmugabo1170
    @armandmugabo1170 2 года назад

    awesome

  • @hassaanhameed
    @hassaanhameed 2 года назад

    🔥

  • @rohitthadakapalli54
    @rohitthadakapalli54 6 лет назад +1

    Too much stuff going too fast in 10mins! :/

  • @TarekFaham
    @TarekFaham 3 года назад +1

    That was very hard to follow...

  • @MathijnvanBerlo
    @MathijnvanBerlo Год назад

    What is this AngularFirestore? Would be a great video, but you're just going to use something that you won't explain. Also, I can't find this on the internet and/or import it. So, now I'm left with just some wasted time. Next time explain what it does, and or how to replace it with something else....

  • @Jeff99
    @Jeff99 6 лет назад

    This is a very informative video but you might want to slow down your speech a little. Not everyone is a native English speaker. What's your hurry?

  • @anilkinikar
    @anilkinikar 5 лет назад

    Very good content but too fast. Tutor not giving chance to understand the concept. Cannot continue with this video.

  • @ak-loz
    @ak-loz 5 лет назад

    I have to give this one a thumbs down. It's strange when you jump from your VS Code to Firebase and already have your collection set-up. It makes it hard to follow alongside the example if I hadn't used Firebase before so I got lost.

  • @true_visual
    @true_visual Год назад

    2:40 baby is crying or something? XD

  • @GavinWoodthebarbarian
    @GavinWoodthebarbarian 5 лет назад

    you go way to fast, one cannot keep up with hwats going on.