score:4

Accepted answer
<span>{unit.name} </span>

you can just write a literal space.

score:0

if it is a long text, you can go with something like this:

<span style={{whitespace: 'nowrap'}}>long line with no breaks</span>

Related Query

More Query from same tag