What is the difference between these two functions? They both seem to produce the same output.
Pros and cons? Or are they exactly the same?
const Footer = () => {
return (
<Footer>This is the footer</Footer>
)
}
and
function Footer() {
return (
<Footer>This is the footer</Footer>
)
}