Why Is Array/Object Destructuring So Useful And How To Use It

preview_player
Показать описание
ES6 is one of the best things that ever happened to JavaScript. It added a ton of new features and syntax that made JavaScript so much more enjoyable to work with. One of the best features that ES6 added was object and array destructuring. With destructuring you can take apart an object or array incredibly easily. This has many use cases from making variable assignment much cleaner to the all important function argument destructuring. In this video I am going to show you exactly how destructuring works, and the best places to use destructuring.

🚨 IMPORTANT:

📚 Materials/References:

🧠 Concepts Covered:

- Array destructuring
- When to use array destructuring
- How to use the spread operator with arrays and destructuring
- Object destructuring
- When to use object destructuring
- How to use the spread operator with objects and destructuring
- The importance of object destructuring

🌎 Find Me Here:

#Destructuring #WDS #ES6
Рекомендации по теме
Комментарии
Автор

This is not a tutorial... This is a piece of art.

RedLagoona
Автор

Kyle is King at making his mistakes look like not mistakes...

'we'll log street.... but as you can see there is no street...'

dan
Автор

this is probably the 6th time I come back to this video lol.

agdmnm
Автор

You're probably the only guy I know of who keeps things simple with easy to follow examples while also speaking clearly and quickly within short videos with multiple examples. It honestly surprises me every time. Thank you. If I get through my bootcamp it'll literally be because of you, Steve Griffith, and Techsith.

WitlessMean
Автор

I'm a backend dev and I would just like to say from my perspective this was the best explained and straight to the point video I've seen. Subbed.

theprince
Автор

currently you are my main source of js exploration, still finding out new information..thank you for what you are doing

radanmitasik
Автор

Your tutorials are super useful, the fact that they're quick means it only takes a few mins to watch them if you forget something and you never have some long exposition and always get straight to the point.

Aka: 10/10 videos

elle
Автор

Where have you got this talent? Real genius. Its a masterpiece.

mozahedulislam
Автор

Somehow when I'm doing projects and get stressed watching your tutorials helps to calm down. I think it's that learning something from someone who really covey the concepts so clear help take the stress away. Really appreciate you doing this!

joqiao
Автор

I love how absolutely quick and concise all of your videos here. No matter what topic I need to learn about js or react I always check your channel first and you have it

brandonz
Автор

Thanks, Kyle! Your videos are clear, to-the-point and engaging - and fill in the gaps that many other tutorials leave out or gloss over. Much appreciated!

pcimring
Автор

Hey man just wanted to drop a comment thanking you for the content. I've been developing for close to a decade now and your videos have been helping me brush up on some of the newer features of JS. You're awesome!

UltraHossBoss
Автор

Dude!! I have tried to understand destructuring so many times! This is wonderful! It's clear and concise and I feel like I understand it now. Thank you so much for make this!

thejonellwood
Автор

I thought i learned all about destructuring until i watch this, my knowledge about this technique increases not only this one but the other things you share to us. As always thank you Kyle

av
Автор

One of the best channels based on web development. Amazing content and teaching skills. Great examples following the KISS principle. Keep it up, bro! +1 from Bulgaria.

jorge
Автор

man, this is 3 years old and still is really really reaaaally good!!
Well and simply explained.
Fast pace.
Every little piece of detail covered... I regret not having found your channel before.
Will check your courses - do you have a pay discord channel for Q&As ??

heykike
Автор

Really like how you break it down into usable code, I'm a beginner and you've made it alot easier applying new code into my own projects. I can see progress everyday after watching your videos . Don't change the way you do things.

datajames
Автор

This is... just beautiful, I mean I knew most of this existed, but the way you take advantage of these features is pure magic. I'm a beginner, but this will definately make me a little better :)

jonathanmanner
Автор

I never thought of gaining so much knowledge in 13 minute video!

tanzeelahmed
Автор

3 years later, still relevant, short, beautiful and simple! Thank you

aleksarakic