{/* comment here */}
It is a regular /* Block Comments */, but needs to be wrapped in curly braces.
/*Comment in react js*/ or {/*Another comment*/}
render() {
return (
<div>
<!-- This doesn't work! -->
</div>
)
}
{/* JSX Comment */} or {// JSX Comment }
{/* <p>This is some text</p> */}
{/* comment here */}
It is a regular /* Block Comments */, but needs to be wrapped in curly braces.
/*Comment in react js*/ or {/*Another comment*/}
render() {
return (
<div>
<!-- This doesn't work! -->
</div>
)
}
{/* JSX Comment */} or {// JSX Comment }
{/* <p>This is some text</p> */}