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.

...