# ReactDemos **Repository Path**: wwpkx/ReactDemos ## Basic Information - **Project Name**: ReactDemos - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-07-16 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 尚硅谷react教程 ## prepare react基础知识 ## redux例子 ### count系列 - count1_react, 直接使用react - count2_redux, react + redux - count3_react-redux, react + react-redux - count4_redux-thunk, react + react-redux + thunk,实现异步 - count5_redux-saga, react + react-redux + saga,实现异步 ![示例图片](.\redux\count.gif) ### comment例子 - comment_react - comment_redux-async, react + react-redux + async ![示例图片](.\redux\comment.gif) ### history例子 #### history_test1.html,History.createBrowserHistory() // 方式一 ![示例图片](.\redux\history-方式1.gif) #### history_test2.html Hash,History.createHashHistory() // 方式二 ![示例图片](.\redux\history-方式2.gif) ## router ### react_router ![示例图片](.\router\react-router demo4.gif) # umi ## umi用法 本地运行 $ umi dev 构建和部署 $ umi build 本地验证 $ serve ./dist ## 好客租房系列 ### day02-Ant Design - 演示了umi的用法 - antd、antd pro