R202_-_SP_2024_-_RE_1702.webp
Momo92

R202_-_SP_2024_-_RE_1702.webp

  • Media owner Momo92
  • Ngày thêm
(Choose 2 answers) 3/50-CAP
Select the code snippet that correctly defines a Functional Component in React.
A. function MyComponent() {
return <div>Hello, World!</div>:
}
B. const MyComponent = () => { return <div>Hello, World!</div>;};
C. class MyComponent extends React.Component { render() {
return <div>Hello, World!</div>:
}
}
D. const MyComponent = React.createClass({render() { return <div>Hello, World!</div>:}
}):


5

Thông tin

Category
FER202
Thêm bởi
Momo92
Ngày thêm
Lượt xem
2,622
Lượt bình luận
13
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
R202_-_SP_2024_-_RE_1702.webp
File size
176 KB
Dimensions
1920px x 892px

Share this media

Back
Bên trên Bottom