Skip to content
A SPA demo build by react hooks、typescript、eslint、jest、enzyme、prettier.
TypeScript CSS JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__mocks__ 🎉 optimization the store struct Jul 24, 2019
public init Apr 15, 2019
src 🎉 optimization the store struct Jul 24, 2019
.editorconfig init Apr 15, 2019
.eslintignore all config done Jul 16, 2019
.eslintrc.js all config done Jul 16, 2019
.gitignore update gitignore Jul 10, 2019
.prettierignore all config done Jul 16, 2019
.prettierrc.js lint optimization Jul 16, 2019
README.md optimization mock Jul 19, 2019
babel.config.js --ding Jul 18, 2019
jest.config.js --modify-- Jul 29, 2019
package-lock.json 🎉 optimization the store struct Jul 24, 2019
package.json --modify-- Jul 29, 2019
tsconfig.json fix the typescript option bug for jsx Jul 9, 2019
webpack.config.js fix white space Jul 17, 2019

README.md

HOOKS-TS-TEST

这是一个使用 React Hooks 开发的前端项目,
使用了 TypeScript,
添加了 Jest、Enzyme 测试

提前准备

  1. nodeJS 8.0 以上版本

启动应用

  1. npm run start-server
  2. npm start
  3. 浏览器就会自动打开:http://localhost:9000
You can’t perform that action at this time.