ReactJS list and keys
Whenever we need to build a list of items, we usually have an array or an object. So in React we use the JavaScript map function in order to map the data from the array to elements on the screen.
🧿 I discussed:
✔️ How to use JavaScript map
✔️ How to render lists in React using map operator
✔️ What are keys in React
✔️ How to render lists directly in JSX
0:00 Intro
0:18 Mapping in JavaScript
0:44 Creating a list in React
1:30 React keys
2:25 Outro
************************************************************
Previous Video: • Conditional Rendering in React #8 Rea...
Next video: • Creating forms in React #10 React Course
Full series • Full React Course
************************************************************
👉 Linkedin:
✔️ / slobodan-gajic
👉 Discord:
✔️ / discord
👉 Portfolio:
✔️https://bobangajicsm.github.io/portfo...
👉 Twitter:
✔️ / _slobodangajic_