Need an extra whitespace in JSX? Instead of
, try this:
<span>Hello, </span>
{true
? 'world!'
: 'world!'}
Some food for thought here.
Need an extra whitespace in JSX? Instead of
, try this:
<span>Hello, </span>
{true
? 'world!'
: 'world!'}
Some food for thought here.