Learn React #3: Props, Destructuring, and Spreading

Anthony Sistilli
Anthony Sistilli
37.3 هزار بار بازدید - 4 سال پیش - This video is probably the
This video is probably the most important React video to fully wrap your head around :).

In this video we go over:
0:40 - Example of React Props straight from the ReactJs Documentation
2:20 - Adding additional props and reading them
5:20 - Passing Props into our custom Employee component
6:20 - Bonus cool little trick with VSCode ;)
10:00 - String Interpolation in React with Props
11:30 - Object Destructuring in ReactJs / JSX / React / Javascript from Props
17:00 - More complex object destructuring in React straight inside of the component parameter
18:10 - Best practices for passing props into a common component, using Javascript's map function in React and JSX
24:30 - Introduction to Javascript's Spread Operator and how to use it with React and JSX
28:40 - How to get rid of "Warning, each child in a list should have a unique key prop" in React when using Map (adding and passing in a key to your component)

The Forge Coding Tutorials...http://theforge.ca

Follow me on Social Media:
LinkedIn: asistilli
TikTok: anthonysistilli
Instagram: asistilli
4 سال پیش در تاریخ 1399/06/29 منتشر شده است.
37,371 بـار بازدید شده
... بیشتر