Answer the question
In order to leave comments, you need to log in
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.
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
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 questionAsk a Question
731 491 924 answers to any question