how to add comment in react js
{/* A JSX comment */}
Source: wesbos.com
comment in react
{/* A JSX comment */}
how to comment out code in react js
render() { return ( <div> <!-- This doesn't work! --> </div> ) }
react comments
/** * @dev returns the current window size */
comments in jsx
{/* JSX Comment */} or {// JSX Comment }