THANK YOU!!!!!! I SPENT F*****G HOURS TRYING TO FIND A SIMPLE EXPLANATION FOR HOW THIS WORKS!!!!! F*****G ANGULAR DOCUMENTATION IS F*****G SH*THOUSE!!!!!! YOU'RE VIDEO EXPLAINED IT PERFECTLY AND I FINALLY FIXED A BUG I SPENT A WHOLE DAY ON!!! YOU'RE A HERO!!!!!!!
@healthyliving45303 ай бұрын
Thanks for the so much effort you have put , really appreciate it :)
@gwynethpena53053 жыл бұрын
Thank you. This is awesome. This is my first time to encounter trackby. So happy that I come across your channel.
@poormancodespmc45984 жыл бұрын
I was struggling to improve a feed with lots of posts. I was rerendering the whole list each time. Now I am going to fly 😀
@rajansharma31713 жыл бұрын
thanks for this, best teacher on youtube
@estevesporai27583 жыл бұрын
Wow, this channel is a treasure.
@hanmingzheng55922 жыл бұрын
I did some experiments with trackby and I think the benefit is limited. Angular will not rerender existing DOM array item if we do: 1. this.users.push(newUser) 2. this.users = [...this.users, newUser] the case I can think of that this trackby might make a diff is when we refetch data from an api and we have to create new references of each item. And even this, it might make sense to rerender the exiting DOM, and... this is really case by case. and having to add trackBy function is more boilerplate. I guess what I mean is, it is good to know this trackBy but dont get too caught up on this. if ur app is slow, then there is a small chance that this might be the cause.
@pruthvi77987 ай бұрын
Good Explanation
@sona46122 жыл бұрын
Wow.. great explanation..❤️❤️❤️
@HM_Milan2 жыл бұрын
you are amazing brother.super explanation thank you
@jagadeeshmanoharan96134 жыл бұрын
Very Useful. Thank you so much. Keep doing.
@shibinjohn27923 жыл бұрын
Very helpful video brother.❤
@themysteryman-e2j4 жыл бұрын
Thank you very much for this detailed version
@danieloseka67454 жыл бұрын
Thank you very much . twas a nice enlightenment
@mearn_ctaftsman3 жыл бұрын
Brother, you are really awesome 👍👍👍👍
@felixurbano1199 Жыл бұрын
Excellent content! well explained ! :3
@MihirModi-dw4lg Жыл бұрын
If it is also re-render list when some value changes (except unique id), then what is the purpose of unique id?
@janakaedirisinghe95494 жыл бұрын
Right time, Right video :p
@bhavesh29523 жыл бұрын
very well explained buddy. thank you :)
@reshmahussain71953 жыл бұрын
Is it necessary to pass the index argument in trackBy function if it is not used in the body?
@antoniocarlosdev61042 жыл бұрын
Amazing!!!
@siddharthatyagi37444 жыл бұрын
Well selection of Topic.
@lipiprajapati83224 жыл бұрын
Hii subhrat, I am fetching data from json file where data present as an array like parent with some child, by a service. I am getting all data with parent and child in console and DOM. But when I am going to interpolating individual child value, I am getting undefined. So, how can I print child value in DOM??
@FunOfHeuristic4 жыл бұрын
Use optional chaining like user?. employe[0]?.name
@Semma_Bore4 жыл бұрын
Any other techniques to improve performance
@igorpwn4 жыл бұрын
Do not use functions in your interpolations, use Pipes!
@FunOfHeuristic4 жыл бұрын
One simple, don't do like this [name]= " 'your name' ", the corect approach is name="your name". Here name is a input property
@ankush37074 жыл бұрын
@@FunOfHeuristic hi subrat i love your videos great work can you please provide a video on this above thing or a link would be very much aprreciated
@FunOfHeuristic4 жыл бұрын
@Ankush please check the playlist on Angular performance optimisation.
@kemidinaveen98432 жыл бұрын
you need to make audience more involved
@FunOfHeuristic2 жыл бұрын
Any tips, it will be helpful
@harshshah55112 жыл бұрын
Sir your videos are very informative, but we find it difficult to understand what you are trying to convey