📅  最后修改于: 2022-03-11 14:59:21.738000             🧑  作者: Mango
代码示例1
class MyComponent extends React.Component {
constructor(props) {
super(props);
this.myRef = React.createRef();
}
render() {
return ;
}
}