G
G
godsplane2019-12-12 21:14:17
React
godsplane, 2019-12-12 21:14:17

How to add one more variable to with string?

I almost don't rummage in React, and maybe I didn't even formulate the question correctly.
4Av3omTKBLE.jpg
dojltOpRO5s.jpg
There is a "variable" in which info is filled, how can I make several of them in a column for one block? Do I need to display another "term" for this? only with a different name? Or is it possible to somehow shove it into one?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Rerberg, 2019-12-12
@godsplane

Hey!
Firstly, you can put data like { title, term } into an array and create components by traversing the array, it will be easier and less code.
Secondly, no one bothers you to make `term` an object or an array.
Perhaps I did not quite understand what you want, in that case, describe more clearly or in pseudocode

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question