Answers for "comment in jsx react"

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