Тёмный

#35: Why we use Three Dots in useState: Discover 4 Real Use Cases of the Spread Operator in React 

Thapa Technical
Подписаться 674 тыс.
Просмотров 1,4 тыс.
50% 1

Dive into the world of React.js with our detailed tutorial on the spread operator and its usage in the useState hook. Learn the syntax and four practical use cases of the spread operator, including copying arrays, concatenating arrays, adding elements to an array, and spreading object properties.
🔥 Access Source Code, PPT & Notes here for Free : www.thapatechnical.com/2024/0...
📺 Discover React.js History in Just 10 Minutes - • React.js History in 10...
📺 Watch the complete Playlist here : • React 19 Tutorials in ...
------------------------------------------------------------------------
🚀 Boost Your Skills with these Pre-Requisite Videos:
🔗 Best HTML Course - • HTML Complete Tutorial...
🔗 Best CSS Course - • Complete CSS Tutorial ...
🔗 JavaScript Basics Course Part 1 - • JavaScript Full Course...
🔗 JavaScript Advanced Course Part 2 - • JavaScript Advanced fu...
------------------------------------------------------------------------
📢 Exclusive Offers:
💸 Get All RU-vid Videos' Source Code for just ₹199! Grab Now - thapatechnical.shop/source-code
💸 Build Your Own E-commerce Website for Free! - www.thapatechnical.com/2024/0...
------------------------------------------------------------------------
✌️ Join Us!
🚀 Become a Member: Unlock perks, free source code, and more Join Now : / @thapatechnical
📷 Connect on Instagram: / thapatechnical
🗨️ Join Our Discord Server: Hang out with fellow programmers Discord Link: / discord
------------------------------------------------------------------------
⌛TIMELINE⏳
0:00 Introduction to the Three Dots in useState in React
0:55 Understanding the Spread Operator in React.js
2:40 Syntax and Four Use Cases of Spread Operator
4:00 Use Case 1: Copying an Array
8:55 Use Case 2: Concatenating Arrays
12:00 Use Case 3: Adding Elements to an Array
14:15 Use Case 4: Spreading Object Properties
17:30 Challenge for You
18:05 Next Video Update

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

 

5 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 15   
@owaisnadeem2751
@owaisnadeem2751 4 дня назад
Day # 35 Present ! Love & Respect from Pakistan .
@vijendrasharma1375
@vijendrasharma1375 7 дней назад
Thank you so much 😊🙏🏻
@TechnoFacts03
@TechnoFacts03 7 дней назад
Thanks Sir/Bhaiya Ji ❤
@iamMZ255
@iamMZ255 7 дней назад
Awesome
@swapnilakolkar0804
@swapnilakolkar0804 7 дней назад
your work wil be great help for beginners , what they can't get even by paying fees to classes they can learn simple simple concepts with your videos also , without need to go in any metro city.
@ThapaTechnical
@ThapaTechnical 7 дней назад
Yes, you are right ✅️
@AmanKumarSinhaOfficial
@AmanKumarSinhaOfficial 5 дней назад
Yeah video playlist me nhi hai.. Add kr digiye
@user-lx4xd7sy5u
@user-lx4xd7sy5u 7 дней назад
Vinode Sir ya tu ab kabhi nahi bhologa ma Itna deep ma samjha diya #1Million
@rishiraj2548
@rishiraj2548 7 дней назад
👍🏻👍🏻
@Faizan_Iqbal07
@Faizan_Iqbal07 7 дней назад
🥰😍
@Tappa_vollyball
@Tappa_vollyball 7 дней назад
Bhaiya please mujhe ek Purana laptop de do please bhaiya mere pass paise nhi bhaiya 😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢
@buntysingh244
@buntysingh244 7 дней назад
wow.....
@pxycknomdictator4483
@pxycknomdictator4483 7 дней назад
const person = { name: "John", age: 30 } const updatedPerson = (persons) => { return {...persons, age: persons.age + 1} } console.log(updatedPerson(person))