React

Comments should not be added in a single element

Bad

return (
  <div
    this="this" // Comment
  />
)

Good

// Comment
return (
  <div this="this" />
)

results matching ""

    No results matching ""