Answers for "React: Add Comments in JSX"

29

how to add comment in react js

{/* A JSX comment */}
Posted by: Guest on July-06-2020
2

how to comment out code in react js

render() {
  return (
    <div>
      <!-- This doesn't work! -->
    </div>
  )
}
Posted by: Guest on March-29-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language