Using Map Method in React - Mapping through the state, API, JSON Data

preview_player
Показать описание
In this video I want to cover a simple topic on how to use the map method in react. This a simple topic in react but is a little bit different in react, so I wanted to make a video on that. Hope this video was helpful.

Thanks for watching❤

Leave a like if you found this video helpful👍
Рекомендации по теме
Комментарии
Автор

Bless you!! This is exactly the problem I was trying to solve and I was not feeling confident that I'd find a video on this without have to see a 1 hour course, so I was very happy for this video! With all the various parenthesis and curly brackets, I was getting wrapped around the axle. Thanks again!

haciendadad
Автор

Perfect video... Learnt a lot... Thank you so much 🙌🏻🤩🥳

vigneshlokeshbabu
Автор

This is a great tutorial, able to map cards in SPA. Thanks and all the best :)

basiccoder
Автор

Why so many dislikes. This is very informative .

tamjiddevjournal
Автор

Class based components, thank you next

francodosha
Автор

if you want to map out both name and age then also convert age from string to integer, how would you do that?

DezotoGM
Автор

Hi, why doesn't it require a key?

emilylin
Автор

how to solve 'Map is not a function ' using react

zafrulhasannasim
Автор

oh. Using the new Edge browser? How's it?

MaxProgramming
Автор

Class components really? Well I guess it's a personal choice

MysteriousRival
Автор

how would you display an image from the object and output it to the page. it does not display an image

luxgroove
Автор

How to do this in reverse order like
Jane
Sanghai
Jhon

krohit
Автор

bro u can use use hooks instead of that long cr*p class component🤦‍♂

aflh
Автор

I want to know, How would you return only "name" where age is specific ?

abid
Автор

i have created cards for resturant website but the problem is they are not look like a grid they are in straight line. Please help me

margotkim
Автор

sir plz tell how can use setState inside map function


<View>
{this.state.data.map(function (item, index) {

return (

<View >
<TouchableOpacity >

<Text>{item.sno} </Text>
<Text>{item.month} </Text>

{this.setState({ set: item.amounttobepaid })}
</TouchableOpacity>

</View>

)
})}
</View>

spinaround