Answers for "how to comment in html in react"

29

how to add comment in react js

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

comment out html in react

how to add multiple comment in react

{/* 
  Multi
  line
  comment
*/}
Posted by: Guest on August-20-2020
0

Comments inside children section of tag should be placed inside braces

<div className="dropdown">
    {/* whenClicked is a property not an event, per se. */}
    <Button whenClicked={this.handleClick} className="btn-default" title={this.props.title} subTitleClassName="caret"></Button>
    <UnorderedList />
</div>
Posted by: Guest on January-24-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language