python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
I want to be able to change the content of modal each time the map function iterates
I want to use the map function to show on the same modal different content and update them when necessary, I decided to go with props and I don't get why it isn't working.
What I get instead is
when ...
Ojage S
Votes: 0
Answers: 0
React map inside map
{posts.map((post) =>
posts.comments?.map((comment) => (
<Posts key={post._id} post={post} comment={comment} />
))
)}
I want to be able to do somethin...
aasem shoshari
Votes: 0
Answers: 2
How to get the index of each entry when call the map function on a map object in Dart / Flutter?
How to get the index of each entry in a Map<K, V> in Dart?
Specifically, can the index of each entry be printed out, if a map function is run on the object as shown in the below example?
e.g. ho...
Kdon
Votes: 0
Answers: 1
How to change color of specific items returen from map list
I want to change border or outline color when I click for one item not all list items
but when I click on any items all list changed
I'm trying to change one item color not all...so when I change stat...
Omar Selim
Votes: 0
Answers: 2