{"id":20989352,"url":"https://github.com/arisono/first-react-project","last_synced_at":"2025-09-11T02:16:49.914Z","repository":{"id":93998250,"uuid":"135318956","full_name":"Arisono/first-react-project","owner":"Arisono","description":"react知识点学习","archived":false,"fork":false,"pushed_at":"2019-04-17T07:27:25.000Z","size":244,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T11:44:10.997Z","etag":null,"topics":["react-antd","react-app","react-component","react-demo","react-redux","react-router"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Arisono.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-29T15:47:49.000Z","updated_at":"2019-04-17T07:27:27.000Z","dependencies_parsed_at":"2023-03-19T02:32:54.882Z","dependency_job_id":null,"html_url":"https://github.com/Arisono/first-react-project","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Arisono/first-react-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arisono%2Ffirst-react-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arisono%2Ffirst-react-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arisono%2Ffirst-react-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arisono%2Ffirst-react-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arisono","download_url":"https://codeload.github.com/Arisono/first-react-project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arisono%2Ffirst-react-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274565261,"owners_count":25308731,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["react-antd","react-app","react-component","react-demo","react-redux","react-router"],"created_at":"2024-11-19T06:24:37.108Z","updated_at":"2025-09-11T02:16:49.888Z","avatar_url":"https://github.com/Arisono.png","language":"JavaScript","readme":"# React知识学习\n\n### 环境搭建\n\n- 脚手架\n- 基本组件\n- 路由组件\n\n\u003e 安装路由组件\n\n````\nnpm install react-router react-router-dom --save\n````\n\u003e 安装Antd [(Antd 组件文档)](https://ant.design/components/menu/)\n\n````\nnpm install antd --save\n````\n\n\n\u003e 安装Redux\n````\nnpm install --save redux react-redux redux-thunk\nnpm install --save-dev redux-logger\nnpm install --save-dev redux-devtools\n````\nredux不用说了，我是把它当成一个本地数据库使用，react-redux帮助你完成数据订阅，redux-thunk可以放你实现异步action，redux-logger是redux的日志中间件。\nredux-devtools 是用于调式开发用。\n\u003e 安装sortablejs\n````\nnpm install sortablejs --save\n````\n\n---\n\n### 理论知识\n\n#### **路由库React-Router**\n\n React 体系的一个重要部分：路由库React-Router。它是官方维护的，事实上也是唯一可选的路由库。它通过管理 URL，实现组件的切换和状态的变化，开发复杂的应用几乎肯定会用到。\n\n### 功能列表\n\n#### 第一阶段：\n\n- 掌握基本的React语法\n- 掌握基本的CSS样式\n\n```\n [react-bootstrap](https://react-bootstrap.github.io/layout/grid/)\n```\n\n- **掌握脚手架基本打包流程**\n\nWEBStorm Terminal视图窗口执行打包命令\n\n````\nnpm run build\n````\n在根目录下的package.json文件下，配置homepage字段进行服务器自定义访问路径\n\n```\n \"homepage\":\"/Chapter\"\n```\n\n#### 第二阶段：\n\n- 熟练掌握React常用组件\n- 熟练掌握React路由\n- 熟练掌握React 开发框架Redux\n- 熟练掌握React UI框架Antd\n- 熟练掌握自定义CSS样式\n- 熟练掌握React网络请求处理\n\n#### 第三阶段\n\n-  能够处理UI样式兼容性问题\n-  能够封装常用自定义组件和公共方法\n-  能够借鉴和自己搭建优秀的架构方案","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farisono%2Ffirst-react-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farisono%2Ffirst-react-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farisono%2Ffirst-react-project/lists"}