# react-hook-study **Repository Path**: yongmingivws/react-hook-study ## Basic Information - **Project Name**: react-hook-study - **Description**: 使用 d.umi 脚手架工具搭建, 用于学习React hooks等知识 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-07-12 - **Last Updated**: 2023-07-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: React, hooks, UMI, DUMI ## README # React-hook-study 在`React`技术栈中,面向过程的编程方式逐渐流行,甚至有超过面向对象的编程的趋势。为了能够在这个行业生存下去,提升自己的竞争力,有必要学习及实践`React-Hook` 这是一个 `React` `Hook` 的学习代码库,使用的脚手架为`d.umi`。 ## 内容展示 ![概述页面](./src/public/imgs/1_summary.png) ![useState](./src/public/imgs/2_useState.png) ![useReducer](./src/public/imgs/3_useReducer.png) ![useContext](./src/public/imgs/4_useContext.png) ![useEffect](./src/public/imgs/5_useEffect.png) ![demo](./src/public/imgs/6_demo.png) ## 开发相关命令 ```bash # install dependencies $ npm install # develop library by docs demo $ npm start # build library source code $ npm run build # build library source code in watch mode $ npm run build:watch # build docs $ npm run docs:build # check your project for potential problems $ npm run doctor ``` ## LICENSE MIT