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

0 votes
asked Nov 24, 2019 in Angular by rajeshsharma
+3 votes
asked Jul 29, 2019 in Agile by sheetalkhandelwal
0 votes
asked Feb 3, 2020 in NGINX by Tate
...