0 votes
in ReactJS by

What exactly you can do if the expression contains more than one line?

1 Answer

0 votes
by

In such a situation, enclosing the multi-line JSX expression is an option. If you are a first time user, it may seem awkward but later you can understand everything very easily. Many times it becomes necessary to avoid multi-lines to perform the task reliably and for getting the results as expected.

Related questions

+1 vote
asked May 11, 2021 in Linux by rajeshsharma
+3 votes
asked Jul 29, 2019 in Agile by sheetalkhandelwal
...