So fügen Sie Kommentare in React JS hinzu
{/* 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 }