GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ItJava/react_staging

BranchesTags
Open more actions menu

Latest commit

 

History

28 Commits
28 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
01_脚手架自带文件
01_脚手架自带文件
 
 
02_src_hello_react
02_src_hello_react
 
 
03_todoList案例
03_todoList案例
 
 
04_配置代理
04_配置代理
 
 
05_src搜索_axios
05_src搜索_axios
 
 
06_src_搜索案例PubSubJs
06_src_搜索案例PubSubJs
 
 
07_src_gitHub搜索请求_fetch
07_src_gitHub搜索请求_fetch
 
 
08_src_路由的基本使用
08_src_路由的基本使用
 
 
09_src_NavLink的使用
09_src_NavLink的使用
 
 
10_src_封装的NavLink
10_src_封装的NavLink
 
 
11_src_Switch的使用
11_src_Switch的使用
 
 
12_src_解决样式丢失问题 三种方案
12_src_解决样式丢失问题 三种方案
 
 
13_src_精准匹配和模糊匹配
13_src_精准匹配和模糊匹配
 
 
14_src_Redirect的使用
14_src_Redirect的使用
 
 
15_src_嵌套路由
15_src_嵌套路由
 
 
16_src_向路由组件传递params参数
16_src_向路由组件传递params参数
 
 
17_src_向路由传递search参数
17_src_向路由传递search参数
 
 
18_src_向路由传递state参数
18_src_向路由传递state参数
 
 
19_src_push与replace莫斯
19_src_push与replace莫斯
 
 
20_src_编程式路由导航
20_src_编程式路由导航
 
 
21_src_withRouter组件的使用
21_src_withRouter组件的使用
 
 
22_src_antd组件UI库的使用
22_src_antd组件UI库的使用
 
 
config
config
 
 
public
public
 
 
scripts
scripts
 
 
src
src
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
config-overrides.js
config-overrides.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

一、todoList 案例相关知识

1.拆分组件、实现静态组件,注意className,style的写法 2.动态初始化列表,如何确定将数据放在哪个组件的state 中

  • 某个组件使用:放在其自身的state 中
  • 某些组件使用:放在他们共同的父组件state中【官方称此操作为:状态提升】 3.关于父子之间通信:
    • 【父组件】给【子组件】传递数据:通过props 传递
    • 【子组件】给【父组件】传递数据:通过props 传递,要求父亲提前给子组件传递函数 4.注意defaultChecked 和 checked的区别,类似的还有defaultValue和value 5.状态在哪里,对状态操作的方法就在哪里

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.