R202_-_SU_2024_-_FE_2268.webp
I

R202_-_SU_2024_-_FE_2268.webp

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

Thông tin

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

Share this media

Back
Bên trên Bottom