react-hooks-redux-thunk-pattern:结合 React Hooks 和 Redux Thunk 中间件调用异步 API 的示例代码

时间:2021-05-30 05:16:25
【文件属性】:
文件名称:react-hooks-redux-thunk-pattern:结合 React Hooks 和 Redux Thunk 中间件调用异步 API 的示例代码
文件大小:181KB
文件格式:ZIP
更新时间:2021-05-30 05:16:25
react redux middleware redux-thunk redux-logger react-hooks-redux-thunk-pattern 安装依赖 npm install 用法 启动REST API服务器(JSON服务器): npm run server 然后,启动 React 开发服务器: npm start
【文件预览】:
react-hooks-redux-thunk-pattern-master
----package.json(986B)
----db()
--------countries.json(10KB)
----package-lock.json(576KB)
----src()
--------index.js(452B)
--------redux()
--------serviceWorker.js(5KB)
--------App.test.js(248B)
--------components()
--------App.js(298B)
--------index.css(366B)
----.gitignore(13B)
----public()
--------logo192.png(5KB)
--------manifest.json(492B)
--------robots.txt(57B)
--------index.html(2KB)
--------logo512.png(9KB)
--------favicon.ico(4KB)
----README.md(217B)

网友评论