从火星获取数据React应用开发流程

在本项目中,您将使用Create React App来快速启动React应用。项目提供了以下几个常用脚本命令:

  • npm start:在开发模式下运行应用程序,打开浏览器查看,进行编辑时页面会重新加载,并且控制台会显示任何错误。
  • npm test:启动测试运行程序,在交互式模式下监控测试结果。
  • npm run build:构建生产环境的应用,将优化后的文件打包到build文件夹,准备部署。
  • npm run eject:警告!该命令是不可逆的。执行后,您将获得完全控制的项目配置,但不能恢复到默认设置。此命令会将所有构建工具配置文件从项目中提取出来,给您更多定制化的选项。
zip
fetch-data-from-mars-master.zip 预估大小:27个文件
folder
fetch-data-from-mars-master 文件夹
file
package.json 967B
file
package-lock.json 1.46MB
folder
src 文件夹
file
index.js 266B
folder
constants 文件夹
file
types.js 230B
folder
reducer 文件夹
file
rootReducer.js 234B
file
userListReducer.js 526B
file
preloaderReducer.js 473B
file
reportWebVitals.js 362B
file
setupTests.js 241B
folder
components 文件夹
file
Users.js 636B
file
Preloader.js 104B
file
User.js 335B
file
UserContainer.js 364B
file
store.js 560B
file
App.js 248B
folder
actions 文件夹
file
fetchUsersAction.js 158B
file
preloaderAction.js 194B
folder
sagas 文件夹
folder
index.js 文件夹
file
fetchSaga.js 791B
file
.gitignore 310B
folder
public 文件夹
file
logo192.png 5KB
file
manifest.json 492B
file
robots.txt 67B
file
index.html 2KB
file
logo512.png 9KB
file
favicon.ico 4KB
file
README.md 3KB
zip 文件大小:368.42KB