hacker-news-clone:使用React和Redux构建的Hacker-news-clone。 连接到Hacker-news API-源码

上传者: 42133452 | 上传时间: 2021-08-27 16:08:51 | 文件大小: 216KB | 文件类型: ZIP
该项目是通过引导的。 可用脚本 在项目目录中,可以运行: yarn start 在开发模式下运行该应用程序。 打开在浏览器中查看它。 如果您进行编辑,则页面将重新加载。 您还将在控制台中看到任何棉绒错误。 yarn test 在交互式监视模式下启动测试运行器。 有关更多信息,请参见关于的部分。 yarn build 构建生产到应用程序build文件夹。 它在生产模式下正确捆绑了React,并优化了构建以获得最佳性能。 最小化内部版本,文件名包含哈希值。 您的应用已准备好进行部署! 有关更多信息,请参见关于的部分。 yarn eject 注意:这是单向操作。 eject ,您将无法返回! 如果您对构建工具和配置选择不满意,则可以随时eject 。 此命令将从您的项目中删除单个生成依赖项。 相反,它将所有配置文件和传递依赖项(webpack,Babel,ESLint等)直接复

文件下载

资源详情

[{"title":"( 64 个子文件 216KB ) hacker-news-clone:使用React和Redux构建的Hacker-news-clone。 连接到Hacker-news API-源码","children":[{"title":"hacker-news-clone-master","children":[{"title":".gitignore <span style='color:#111;'> 310B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":".env <span style='color:#111;'> 13B </span>","children":null,"spread":false},{"title":"public","children":[{"title":"manifest.json <span style='color:#111;'> 336B </span>","children":null,"spread":false},{"title":"robots.txt <span style='color:#111;'> 67B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false}],"spread":true},{"title":"package.json <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"serviceWorker.js <span style='color:#111;'> 4.58KB </span>","children":null,"spread":false},{"title":"components","children":[{"title":"GridItem","children":[{"title":"styles.js <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 942B </span>","children":null,"spread":false},{"title":"GridItem.test.js <span style='color:#111;'> 350B </span>","children":null,"spread":false}],"spread":true},{"title":"ListItem","children":[{"title":"styles.js <span style='color:#111;'> 953B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"listItem.test.js <span style='color:#111;'> 459B </span>","children":null,"spread":false}],"spread":true},{"title":"App","children":[{"title":"App.test.js <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"styles.js <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 723B </span>","children":null,"spread":false},{"title":"App.js <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false},{"title":"logo.svg <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false}],"spread":true},{"title":"Nav","children":[{"title":"Nav.test.js <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"styles.js <span style='color:#111;'> 985B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 445B </span>","children":null,"spread":false},{"title":"Nav.js <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false}],"spread":true},{"title":"Loader","children":[{"title":"styles.js <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"Loader.test.js <span style='color:#111;'> 215B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 203B </span>","children":null,"spread":false}],"spread":true},{"title":"List","children":[{"title":"list.test.js <span style='color:#111;'> 282B </span>","children":null,"spread":false},{"title":"styles.js <span style='color:#111;'> 278B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 496B </span>","children":null,"spread":false}],"spread":false},{"title":"Grid","children":[{"title":"Grid.test.js <span style='color:#111;'> 282B </span>","children":null,"spread":false},{"title":"styles.js <span style='color:#111;'> 437B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 555B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"services","children":[{"title":"Api.js <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"hackerNewsApi.js <span style='color:#111;'> 868B </span>","children":null,"spread":false}],"spread":true},{"title":"utils","children":[{"title":"getSiteHostname.test.js <span style='color:#111;'> 430B </span>","children":null,"spread":false},{"title":"getArticleLink.test.js <span style='color:#111;'> 372B </span>","children":null,"spread":false},{"title":"getArticleLink.js <span style='color:#111;'> 314B </span>","children":null,"spread":false},{"title":"getSiteHostname.js <span style='color:#111;'> 365B </span>","children":null,"spread":false}],"spread":true},{"title":"registerServiceWorker.js <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 821B </span>","children":null,"spread":false},{"title":"styles","children":[{"title":"mediaQueries.js <span style='color:#111;'> 206B </span>","children":null,"spread":false},{"title":"palette.js <span style='color:#111;'> 312B </span>","children":null,"spread":false},{"title":"globals.js <span style='color:#111;'> 500B </span>","children":null,"spread":false}],"spread":true},{"title":"setupTests.js <span style='color:#111;'> 123B </span>","children":null,"spread":false},{"title":"store","children":[{"title":"reducer.js <span style='color:#111;'> 200B </span>","children":null,"spread":false},{"title":"utils","children":[{"title":"index.js <span style='color:#111;'> 896B </span>","children":null,"spread":false}],"spread":false},{"title":"app","children":[{"title":"reducer.js <span style='color:#111;'> 538B </span>","children":null,"spread":false},{"title":"actions.test.js <span style='color:#111;'> 643B </span>","children":null,"spread":false},{"title":"reducer.test.js <span style='color:#111;'> 599B </span>","children":null,"spread":false},{"title":"utils.js <span style='color:#111;'> 267B </span>","children":null,"spread":false},{"title":"actions.js <span style='color:#111;'> 345B </span>","children":null,"spread":false}],"spread":false},{"title":"middleware","children":[{"title":"localStorageMiddleware","children":[{"title":"hasLocalStorage.js <span style='color:#111;'> 626B </span>","children":null,"spread":false},{"title":"storageDefinitions.js <span style='color:#111;'> 551B </span>","children":null,"spread":false},{"title":"loadState.js <span style='color:#111;'> 326B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"saveState.js <span style='color:#111;'> 238B </span>","children":null,"spread":false},{"title":"loadInitialState.js <span style='color:#111;'> 462B </span>","children":null,"spread":false}],"spread":false},{"title":"index.js <span style='color:#111;'> 663B </span>","children":null,"spread":false}],"spread":false},{"title":"story","children":[{"title":"reducer.js <span style='color:#111;'> 789B </span>","children":null,"spread":false},{"title":"selectors.js <span style='color:#111;'> 310B </span>","children":null,"spread":false},{"title":"actions.js <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false}],"spread":false},{"title":"middleware.js <span style='color:#111;'> 389B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 266B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"yarn.lock <span style='color:#111;'> 465.95KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明