Skip to content
Go back

读《Why Do We Write super(props)?》

Table of contents

Open Table of contents

React 类组件的 constructor 一定要调用 super(props) 吗?

super 方法里必须传 props 吗?

还有什么注意事项?


Share this post on:

Previous Post
读《How Does React Tell a Class from a Function?》
Next Post
读《How Imports Work in RSC》