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

Enclosing the multi-line JSX expression is the best option. Sometimes it becomes necessary to avoid multi-lines in order to perform the task reliably and for getting the expected results.

Suggest An Answer

No suggestions avaliable!

Latest post from React js interview questions

Ask Question