Q. Which one is a correct way to create a functional component?
β
Correct Answer: (A)
function MyComponent() {}
Explanation: Functional components are created using JavaScript functions.