A
A
Alexander Koregin2019-05-23 00:46:35
React
Alexander Koregin, 2019-05-23 00:46:35

How to properly create a component in React with an array?

I have an array of data in this format
{
id: transaction ID,
value: transaction amount, positive number,
type: transaction type: expense or income
date: transaction date and time
}
And there will be 10 such values, how to create a component correctly so that you can I had to draw them later.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Spirin, 2019-05-23
@dragonika8

Lists and keys

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question