Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Що з наступного є правильною синтаксичною конструкцією для створення функціонального компонента в React?
const MyComponent = new Function() { return <div>Hello, World!</div>;
createComponent('MyComponent', () => <div>Hello, World!</div>);
var MyComponent = function { return <div>Hello, World!</div>; }
function MyComponent() { return <div>Hello, World!</div>; }
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!