Как добавить комментарий в React JS
{/* A JSX comment */}
Wandering Wildebeest
{/* A JSX comment */}
{/* A JSX comment */}
render() {
return (
<div>
<!-- This doesn't work! -->
</div>
)
}
/**
* @dev returns the current window size
*/
{/* JSX Comment */} or {// JSX Comment }