I understand the difference between a functional component and a class component, but what's the difference between const component to a functional component?
e.g
const Home = () => {
return (
<div>Home</div>
)
}
To
function Home() {
return (
<div>Home</div>
)
}
Both of them can use hooks, so what's the main difference?