Тёмный

N Things You Didn’t Know About the Router - Deborah Kurata 

ng-conf
Подписаться 66 тыс.
Просмотров 60 тыс.
50% 1

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

 

15 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 54   
@m3talg3array
@m3talg3array 6 лет назад
Excellent talk. Big fan of your Pluralsight courses as well. You've helped me learn a lot about Angular!
@benjboyle
@benjboyle 6 лет назад
Some of the clearest Angular information I've come across.
@davidn7026
@davidn7026 5 лет назад
this is very visual and helpful in capturing the architecture. I've been using Angular 2+ since its beta and this solidifies any "tricks" and knowledge that I've come across over the years. Thank you so much
@victorm9131
@victorm9131 5 лет назад
Wow. I don't have words to describe how I feel after watching this conference. I thought I'd watch for about 3-7min straight the topic that I need. But I ended up watching the video from 0:00 till the end. Thank you :)
@williamramirezlizano
@williamramirezlizano 6 лет назад
That was so good I scraped my project and started from 0. Excellent thanks, and I say it without sarcasm, my app was entering labyrinth mode and with this, the resolving beforehand, it now is clean as a whistle.
@xXUkanlosXx
@xXUkanlosXx 3 года назад
Very clear and nice tips for real life scenarios wow, i will implement some of them in my projects
@FuzailShaikh
@FuzailShaikh 2 года назад
Awesome talk! 👏
@USONOFAV
@USONOFAV 4 года назад
The best angular routing explanation so far
@user-iq6yo2bo8p
@user-iq6yo2bo8p 4 года назад
Simple, excellent content, practical examples
@ThomasBurleson
@ThomasBurleson 6 лет назад
Really nice walkthru and presentation @deborahkurata.
@love-hammer
@love-hammer 2 года назад
Around 12:50 the note about the component being injected into the guard is so important (as she said). I recently cleaned up a guard where, despite component being right there in the signature, someone went to the trouble of adding: a touched flag in the global state, and an associated action to dispatch (ngxs) when it should be flipped. Just for this one form. The component is right there.
@khyr-hl9yt
@khyr-hl9yt 2 месяца назад
Her teaching method is excellent
@hassankhan8011
@hassankhan8011 6 лет назад
Big Fan of your Pluralsight Courses . u are my angular Teacher. i learned angular from your courses and now on a great post in software firm .
@SuperToughnut
@SuperToughnut 2 года назад
So useful!
@danielbond9729
@danielbond9729 5 лет назад
Thanks, great video cleared a few things up and learned new stuff👍
@muhammadabdelhady2257
@muhammadabdelhady2257 2 года назад
This is helpful for new angular develoeprs. thank you so much
@Saaad2
@Saaad2 6 лет назад
Deborah! You're a god of Angular :)
@laurentguerin8806
@laurentguerin8806 6 лет назад
Very clear and very useful, thank you.
@Dgiulian
@Dgiulian 6 лет назад
N > 2.5 for me (I knew about nested routing but never really understood it until I watched this video)- also the enable Tracing and the loading spinner was super cool
@PerfectEn3my
@PerfectEn3my 6 лет назад
Amazing talk, mega userful, thank you!
@DmytroShapovalovUA
@DmytroShapovalovUA 3 года назад
Wow, that was great, thanks a lot!
@gwapster13
@gwapster13 5 лет назад
This is very helpful
@manishbansal8843
@manishbansal8843 6 лет назад
Hmm..never thought about showing spinner while angular resolved routes. Rest i knew already. Never mind, great talk.
@TradeWithScence
@TradeWithScence 6 лет назад
good detailing, thank you so much
@oskar42314
@oskar42314 5 лет назад
This is a great talk
@basilio100
@basilio100 5 лет назад
@Deborah, Thank you - all my code refactored according your ideas. Thanks again.
@yavdhesh
@yavdhesh 4 года назад
ये सबसे अच्छा लगा मुझे ।
@javascript_developer
@javascript_developer 2 года назад
Resolver - Thanks..
@shriniwasrocks
@shriniwasrocks 6 лет назад
thats the first tile i saw router events used for spinner logic. I will try that :)
@Links...
@Links... 5 лет назад
there is simply stuff. ask me how I make deal with routing of 9 angular microservices without losing a SPA between navigates and to show 3 microservices on 1 page and each one have own routing? it was hell we need feature for building lazy modules as separated bundles
@siddarthapal2792
@siddarthapal2792 6 лет назад
You are my Angular god );
@hbela1000
@hbela1000 6 лет назад
awesome, thx.
@ben4d85
@ben4d85 6 лет назад
N = 1, the 'canDeactivate' guard was new for me! I have tried it out and have found that the more interesting question is: How do you set the 'isDirty' property in 'MovieEditComponent'? More precisely, how do you detect if your form has unsaved changes?
@m4r10x2
@m4r10x2 6 лет назад
Search for angular reactive forms - dirty or pristine. angular.io/guide/reactive-forms#inspect-formcontrol-properties
@ben4d85
@ben4d85 6 лет назад
Thanks, but my question was how to detect if the form (as a whole) has unsaved changes, not how to check individual form-controls for changes.
6 лет назад
I have implemented my own detection mechanism, which makes a record into a map, everytime something changes. By changing the state of the form a method is called (via event) to record the change, if there is a given key, the fields name or whatever you want it to be identified by, than the record is deleted, if there is none, a new record is made. Than you can check if the map contains any record or you can create a boolean property unsavedChanges: bool for example, if you wold like to make it clearer. This works if the field has only two states, if you want to keep track of changes between more states, you will have to use different data structure in order to be able to go back without interuption, if the user manually reverted his change. There might be some library for thi tho, I have not searched.
@deborah_kurata
@deborah_kurata 6 лет назад
Following the link above you'll see that the FormGroup (the entire form) also has a dirty flag as does each individual element. You can download the code for this session following the link in the slides to see the details of how its done.
@dandashino
@dandashino 6 лет назад
i liked the way the spinner was handled from just inside the app component, but what about when i'm fetching data from the server without any re-routing ? I just have a table and the user did some filters so now I have to fetch the new results and show a spinner meanwhile. Or maybe not a table just any filter example where I need to reload data but in the same page. (I know how to do it but asking if there's a better way just like the method used in this video)
@VladimirRoytman
@VladimirRoytman 3 года назад
2:10 menus and outlets 5:03 Children, 5:54 Resolver makes routing wait for completion of async operation. route.snapshot.data, 9:13 router.evenst.subscribe to show spinner. 10:51 enableTracing:true. 12:01 Guard services: CanActivate, CanDeactivate, CanLoad 14:25 Createe const appRoutes: Routes to hold the definition 15:46 RouterModule.forChild wouldn't work 18:27 Lazy loading: loadChildren: "urlRoot.module#MyModule"
@business_max
@business_max 6 лет назад
Excellent :)
@additionaddict5524
@additionaddict5524 5 лет назад
Nested router outlet nice
@georaves2998
@georaves2998 6 лет назад
I love nest!
@ROHITSHARMA-og7ue
@ROHITSHARMA-og7ue 5 лет назад
How to turn on routing such that we can see all the trace?
@igorr4682
@igorr4682 Год назад
Given your role as a spokesperson, I strongly recommend investing time in mastering proper breathing techniques. Currently, your delivery often sounds as if you're running out of breath midway through your statements. This issue not only detracts from the topic at hand but also diminishes the overall impact of your communication. Addressing this aspect is critical for maintaining audience engagement and ensuring effective delivery.
@joelmuskwe
@joelmuskwe 6 лет назад
What is the proper way of using both resolvers and guards with ngrx especially on resolving data that you want to keep track of changes in the navigated component
@deborah_kurata
@deborah_kurata 6 лет назад
This post may help: toddmotto.com/preloading-ngrx-store-route-guards
@kiambojyms2196
@kiambojyms2196 6 лет назад
Hey Deborah am stuck I have a navigation menu in a parent component but when I press on a link to a child component.. The navigation menu appears in the top of the child. How will I hide the navigation from the child or make it not appear in the child component. Do you have any video tutorial for that in angular 4. Please help. Its urgent.
@deborah_kurata
@deborah_kurata 5 лет назад
I don't monitor the comments here and *just* saw this. Hopefully you were able to resolve your issue?
@kavanmannapperuma1963
@kavanmannapperuma1963 6 лет назад
Brilliant. Definitely N > 0 for me.
@NSMetaLpig
@NSMetaLpig 3 года назад
if this N things are on the angular documentation, there will be no N things
@partyY2Hard
@partyY2Hard 3 года назад
22 people still didn't get the N things...
@ShanyGolan
@ShanyGolan 4 года назад
That Deborah women spams the world of web development 🤦🏻‍♂️🤦🏻‍♂️🤦🏻‍♂️
Далее
Good Action Hygiene with NgRx   Mike Ryan
17:20
Просмотров 50 тыс.
Deep dive into content projection - Eudes Petonnet
19:47
New Race ? 🪽| Doge Gaming
00:12
Просмотров 1,6 млн
Doors Harpy Hare (Doors 2 Animation)
00:16
Просмотров 869 тыс.
Сколько стоят роды мечты?
00:59
Просмотров 835 тыс.
VS Code Can Do That - Burke Holland
20:34
Просмотров 53 тыс.
Angular at Large Organizations - Victor Savkin
25:29
Просмотров 30 тыс.
Complex features made easy with RxJS
36:13
Просмотров 59 тыс.
Data Composition with RxJS | Deborah Kurata
20:56
Просмотров 64 тыс.
New Race ? 🪽| Doge Gaming
00:12
Просмотров 1,6 млн