Q. What is the correct way to create a component in React?
β
Correct Answer: (A)
function MyComponent()
Explanation: Functional components in React are defined using regular functions.