Тёмный

Angular Router - The Basics and Beyond 

Fireship
Подписаться 3,2 млн
Просмотров 128 тыс.
50% 1

Learn everything you need to know to use the Angular v6 router effectively. We start with the absolute basics, then move on to advanced concepts related to guards and resolvers angularfirebase.com/lessons/b...
- Router Docs angular.io/guide/router
- Lazy Loading Video • Lazy Loading Component...

Наука

Опубликовано:

 

16 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 105   
@andreasegger777
@andreasegger777 5 лет назад
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 года назад
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
@tonysmarks3578
@tonysmarks3578 5 лет назад
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 3 года назад
LMAO!!!
@Andrei-xb1pz
@Andrei-xb1pz 3 года назад
Haha... Yea, now I understand why people like React (also Vue.js)
@lubomirpacheliev363
@lubomirpacheliev363 2 года назад
@@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 2 года назад
@@Andrei-xb1pz Actually react sucks
@mattthomas8589
@mattthomas8589 2 года назад
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
@kornelsiket3420
@kornelsiket3420 6 лет назад
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 лет назад
That's my goal :) I try to spare people the lost time sitting through a 5hr course.
@Fireship
@Fireship 6 лет назад
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 лет назад
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 лет назад
More on resolvers would be great.
@mohammadzahid4390
@mohammadzahid4390 6 лет назад
Tensorflow.js is a hot topic.. some more videos on that would be great..!
@mateja176
@mateja176 6 лет назад
A video on modules would be great, for example when and why use core and shared modules etc.
@aakashthakur1415
@aakashthakur1415 6 лет назад
Angular SSR and PWA if you could cover would be great!!
@oneofthenicks2885
@oneofthenicks2885 2 года назад
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.
@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!
@davidtheprogrammer
@davidtheprogrammer 6 лет назад
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 4 года назад
I've been looking for resolve since a while, that helped me. Thanks.
@bensonmwaura9494
@bensonmwaura9494 6 лет назад
Great insights. Nice touch on making the guard reusable...this coupled with SEO & genius!
@bieldozap
@bieldozap 3 года назад
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.
@webmaster4095
@webmaster4095 5 лет назад
Thanks for your lessons.
@jthies73
@jthies73 3 года назад
I love your videos so much!! Thank you for putting in the effort =)
@mbusilukhele5809
@mbusilukhele5809 2 года назад
Now that was faster than going through documentation, thanks buddy.
@carrillocarlosce
@carrillocarlosce 6 лет назад
Angular Firebase always right to my needs XD thanks
@Fireship
@Fireship 6 лет назад
Awesome, thanks for watching!
@pandarzzz
@pandarzzz 6 лет назад
Thank you for sharing this informative video! 🐯🖐🏻
@zoojs
@zoojs 4 года назад
Thanks a lot! Very informative video
@mateja176
@mateja176 6 лет назад
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?
@camiloandreselguetabasso2429
@camiloandreselguetabasso2429 6 лет назад
muchas gracias! justo lo que necesitaba :)
@siyedyoussef3202
@siyedyoussef3202 6 лет назад
Great vidéo as Always 👍👍👍
@Fireship
@Fireship 6 лет назад
Thank you Siyed!
@Bielik20
@Bielik20 6 лет назад
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?
@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?
@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?
@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.
@oleersoy6547
@oleersoy6547 5 лет назад
"We ain't found S!#T!" Nice touch on the 404 page :)
@radityoperwianto1339
@radityoperwianto1339 5 лет назад
I am considering to use it in production right now
@andromadusnaruto1544
@andromadusnaruto1544 3 года назад
@@radityoperwianto1339 Permission granted...
@malikevans3525
@malikevans3525 5 лет назад
Dude your presentation and delivery are unmatched.
@sachinmishra7692
@sachinmishra7692 6 лет назад
Will router children attributes support host and hostcontext for the subsequent components ? If yes could please make a video on that
@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 :)
@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'
@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 .
@sourishdutta9600
@sourishdutta9600 5 лет назад
Do a video on Angular change detection.
@ekhmoi4552
@ekhmoi4552 6 лет назад
Liked & Subscriber. Good Luck!
@nekoma_mono
@nekoma_mono 7 месяцев назад
🎯 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
@TT-pu1lw
@TT-pu1lw 3 года назад
Can anybody tell, how to preserve query parameters on browser reload ?
@mateja176
@mateja176 6 лет назад
Man, that new logo is as hot as (angular)fire!
@Fireship
@Fireship 6 лет назад
Thank you Mateja :)
@armandmugabo1170
@armandmugabo1170 2 года назад
awesome
@chfr
@chfr 2 года назад
I wish this video could've talked about how to set the title tag with routes.
@paradix847
@paradix847 4 года назад
What's that font called that you're using in the webapp.
@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
@gronavet
@gronavet 3 года назад
very good tutorial. best watched at a speed of 0.75.
@DerJP
@DerJP 6 лет назад
Hey :) Love your videos! Could you tell me what the background music is called? Thank you.
@Fireship
@Fireship 6 лет назад
Thank you :) You can find it here audiojungle.net/item/ambient-deep-loop/19729970?s_rank=2
@DerJP
@DerJP 6 лет назад
Angular Firebase finally... Thanks a lot! :D
@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 лет назад
Yes, expect an Ionic v4 tutorial very soon
@daniellaerachannel
@daniellaerachannel 6 лет назад
can't wait for that! thanks!!
@phiquang8503
@phiquang8503 5 лет назад
What is color theme ?
@aCitizenJOSerased
@aCitizenJOSerased 5 месяцев назад
Hi Jeff. At 2:51 how do import the detail component with one click?
@thebigFIDDLES
@thebigFIDDLES 3 месяца назад
Auto Import package
@PAVANKUMAR-vj8oi
@PAVANKUMAR-vj8oi 3 года назад
vscode theme name ?
@ofershaham1525
@ofershaham1525 3 года назад
The last 60 seconds includes a music which is really disturbing while trying to follow your explanation.
@hassaanhameed
@hassaanhameed Год назад
🔥
@jonathanmcalexander2778
@jonathanmcalexander2778 6 лет назад
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 лет назад
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 лет назад
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 4 года назад
me too pausing every 3 seconds on all this course
@pluraltest9242
@pluraltest9242 4 года назад
It's just you
@marcinjarzebski9446
@marcinjarzebski9446 4 года назад
The speaker calms down when on 0.75 speed. He actually sounds really relaxed like this.
@matheuscosta5330
@matheuscosta5330 5 лет назад
Thats awesome thanks very much
@blackclover5561
@blackclover5561 6 лет назад
Is this the same as MVC5?
@Fireship
@Fireship 6 лет назад
No, it's quite different AFAIK
@DanielRLuke
@DanielRLuke 6 лет назад
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 лет назад
Oh, I was kidding. She has a deep dive on the router over at Pluralsight.
@Fireship
@Fireship 6 лет назад
Oh gotcha.
@bumpwavy
@bumpwavy 3 года назад
im getting this: If 'router-outlet' is an Angular component, then verify that it is part of this module.
@Dr3nzi
@Dr3nzi Год назад
Actually someone that knows what Anuglar does
@qwertt14
@qwertt14 3 года назад
I definitely didn't understand PreloadGuard hahah
@codingmutant9066
@codingmutant9066 4 года назад
he is fast...even for robots
@ezekieltojoshan
@ezekieltojoshan 6 лет назад
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 лет назад
I started with AngularJS and vanilla JavaScript. It takes time to get used to TS, but once you do you will never look back.
@eugenenovikov671
@eugenenovikov671 3 года назад
it is not basic router, it is advanced router, u deceive us
@mbusilukhele5809
@mbusilukhele5809 2 года назад
he said "and Beyond" 😂
@rohitthadakapalli54
@rohitthadakapalli54 5 лет назад
Too much stuff going too fast in 10mins! :/
@true_visual
@true_visual 10 месяцев назад
2:40 baby is crying or something? XD
@TarekFaham
@TarekFaham 3 года назад
That was very hard to follow...
@user-gv5hu5ry6v
@user-gv5hu5ry6v Год назад
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....
@anilkinikar
@anilkinikar 5 лет назад
Very good content but too fast. Tutor not giving chance to understand the concept. Cannot continue with this video.
@Jeff99
@Jeff99 5 лет назад
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?
@Poohbify
@Poohbify 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.
@GavinWoodthebarbarian
@GavinWoodthebarbarian 4 года назад
you go way to fast, one cannot keep up with hwats going on.
Далее
Resolver Guard in Angular Router (2021)
16:24
Просмотров 27 тыс.
Angular Components Beginner's Guide
13:52
Просмотров 182 тыс.
Фонтанчик с черным…
01:00
Просмотров 2,6 млн
RxJS Top Ten - Code This, Not That
14:44
Просмотров 252 тыс.
Reactive Forms  - The Basics
15:48
Просмотров 255 тыс.
JavaScript Pro Tips - Code This, NOT That
12:37
Просмотров 2,5 млн
Routing and Navigation in Angular | Mosh
24:32
Просмотров 284 тыс.
Angular Routing - Learn Needed Basics
14:40
Просмотров 3,4 тыс.
Angular for Beginners - Let's build a Tic-Tac-Toe PWA
20:46
Angular 18 is EXACTLY what we needed
9:15
Просмотров 64 тыс.
😮Новый ДИРЕКТОР Apple🍏
0:29
Просмотров 37 тыс.
Треш ПК за 420 000 рублей
0:59
Просмотров 246 тыс.