We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#1080 React 16.8 更新加入了 Hook 功能,使原有的类组件不再那么流行,函数式组件大行其道。函数式组件无法调用类组件的生命周期方法,而需要以 Hook 取而代之。类组件,以及组件的生命周期方法对新学习 React 的开发者而言已是比较陌生的概念。因此希望更新原有的 React 代码示例为函数式组件+ hook 的示例,或新增一示例。
React 16.8
The text was updated successfully, but these errors were encountered:
欢迎 PR。
Sorry, something went wrong.
No branches or pull requests
#1080
React 16.8
更新加入了 Hook 功能,使原有的类组件不再那么流行,函数式组件大行其道。函数式组件无法调用类组件的生命周期方法,而需要以 Hook 取而代之。类组件,以及组件的生命周期方法对新学习 React 的开发者而言已是比较陌生的概念。因此希望更新原有的 React 代码示例为函数式组件+ hook 的示例,或新增一示例。The text was updated successfully, but these errors were encountered: