这两个函数之间有什么区别?它们似乎都产生了相同的输出。
赞成与反对?或者它们是完全一样的?
const Footer = () => {
return (
<Footer>This is the footer</Footer>
)
}和
function Footer() {
return (
<Footer>This is the footer</Footer>
)
}发布于 2021-03-14 19:15:33
https://stackoverflow.com/questions/66623803
复制相似问题