Complete Overview of React Functional Components
Quick answer. A React functional component is a plain JavaScript function that accepts a props object and returns JSX describing the UI. Since React Hooks arrived, functional components can manage state with useState and side effects with useEffect, making class components largely unnecessary. They are the recommended way to build