B
B
Bomjur_Nikitich2021-02-05 00:21:36
React
Bomjur_Nikitich, 2021-02-05 00:21:36

How to render additional information when clicking on a React list item?

Guys, the essence of the problem is this, I map the list and when I click on a certain element, I need to display additional information for this element. Hung a click handler on the excess and when the flag is changed, information is displayed on all elements and not on a specific one

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2021-02-05
@Seasle

https://codesandbox.io/s/qna-q933195-4u1sm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question