react comments jsx code example
Example 1: comment in react
{/* A JSX comment */}
Example 2: comment jsx code
{/* comment here */}
It is a regular /* Block Comments */, but needs to be wrapped in curly braces.
{/* A JSX comment */}
{/* comment here */}
It is a regular /* Block Comments */, but needs to be wrapped in curly braces.