In React - How props are defined initially?

后端 未结 0 618
忘掉有多难
忘掉有多难 2021-01-27 00:59

Suppose a component -

class MyComponent extends React.Component {
   render() {
    return 

Hi, {this.props.name}

} }

And t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题