PrimeLens PrimeLens - 6 months ago 51
Javascript Question

React JSX, how to render text with a single quote? Example <p>I've</p>

In React JSX how can I have the following text include a single quote? Or other punctuation that might need escaping?

return (
<p>I've seen the movie.</p>


Nevermind, it works as is.

It was the IDE that was highlighting it as a mistake