# react-client-2301 **Repository Path**: yooyeLearning/react-client-2301 ## Basic Information - **Project Name**: react-client-2301 - **Description**: # Hook 【只能在函数式组件内的顶层调用】 ``` function App(){ useXXXX //组件内的顶层 const fn = ()=>{ //非顶层 } } ``` > useXXX() > [文档](https://zh-hans.react.dev/) > 在 Hook 出现之前,我们把函数式组件又称为【无状态组件】 > 16.8 版本新增的方法 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-06-19 - **Last Updated**: 2023-06-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README No README documentation available for this project.