React

Comments should be handled in this style

Bad

render() {
  return (
    <div>
      <!-- Comment -->
    </div>
  )
}

Good

{/* Comment */}
{/*
  Multi
  line
  comment
*/}

results matching ""

    No results matching ""