📜  React.functioncomponent 和 React.component 之间的区别 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:51.798000             🧑  作者: Mango

代码示例3
import React from "react";
 
const FunctionalComponent = () => {
 return 

Hello, world

; };