M
M
mamaanarhiya2017-10-06 15:34:34
JavaScript
mamaanarhiya, 2017-10-06 15:34:34

How to create react element?

How to create a react element and an array with data?
I have an array ['текст1', 'текст2', 'текст3']
We need to create a react element that will look like this

<div>текст1</div><div>текст2</div><div>текст3</div>
.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Alexandrovich, 2017-10-06
@mamaanarhiya

https://reactjs.org/docs/lists-and-keys.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question