📌  相关文章
📜  做出反应.为什么使用 super(props) - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:08.032000             🧑  作者: Mango

代码示例2
here is only one reason when one needs to pass props to super():

When you want to access this.props in constructor.