That was an excellent summary of .with(). Your teaching style is second to none. Thank you! Would you also make videos/books on .NET and Java/ Spring Boot?
Thank you very much! I did one .NET/C# video and it didn't get many views. But maybe I'll try again? Sorry to say that I don't know Java/Spring Boot. Thanks again!
Hi Deborah, great video as always! I was wondering: is with() almost the same as toSpliced() with the only difference the fact that you can't optionally select only a part of the array to copy instead of all the elements?
Thanks! with() is being focused on changing one element. toSpliced() is more flexible and allows for removing items, replacing one element with multiple elements, and inserting new elements
Let's think though this a moment. Say I have an array bound to a UI element. Let's call that variable "ages". If I want to modify that array *and* have it appear updated in the UI, I need to change that same variable to a new array. I can do that in an *immutable* way by creating a new array and assigning it to that same variable. To change the variable, I need a "let".
Any chance for a long video on Angular 17 enhancements? Like a similar course that you have on Pluralsight? Would love to watch that and learn!
Great as usually
Thank you!
MY IDOL
😊
Awesome explanation 👏
Thank you 🙂
That was an excellent summary of .with(). Your teaching style is second to none.
Thank you!
Would you also make videos/books on .NET and Java/ Spring Boot?
Thank you very much!
I did one .NET/C# video and it didn't get many views. But maybe I'll try again?
Sorry to say that I don't know Java/Spring Boot.
Thanks again!
@@deborah_kurata Thank you.
After .NET community sees your videos, they’ll be hooked! 😀
@@fieryscorpion That is kind of you to say. Thank you!
Hi Deborah, great video as always!
I was wondering: is with() almost the same as toSpliced() with the only difference the fact that you can't optionally select only a part of the array to copy instead of all the elements?
Thanks!
with() is being focused on changing one element. toSpliced() is more flexible and allows for removing items, replacing one element with multiple elements, and inserting new elements
🎉
Deborah, please zoom in on your code text. And, more JS videos please.
Thank you for the suggestions!
They could have chosen an explicit name, why naming it with() instead of replace() 😞
Yeah, it would have been interesting to have been in that conversation! 😄
Please stop using let 😢😂… you will have all these people coding immutable which is not good unless it’s needed.
Use const
Let's think though this a moment.
Say I have an array bound to a UI element. Let's call that variable "ages".
If I want to modify that array *and* have it appear updated in the UI, I need to change that same variable to a new array. I can do that in an *immutable* way by creating a new array and assigning it to that same variable. To change the variable, I need a "let".