Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sizappaaigwat/react-starter-project


https://github.com/sizappaaigwat/react-starter-project

enzyme jest mobx mobx-react react react-router-dom

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# react-starter-project

a starter project using react + mobx + react-router-dom

```bash
yarn
yarn run serve
yarn run test
```

## RoadMap

- [x] Redux => MobX
- [x] i18n (react-i18next)
- [x] 主题皮肤 (Css Modules + Styled Components)
- [x] 单元测试 (Jest + Enzyme + nock)
- [x] WebSocket (**ws** 服务端示例)
- [x] K线图 (AnyStock / TradingView / AmStock / ECharts)

## Unit Test

- [Jest & Enzyme](https://semaphoreci.com/community/tutorials/how-to-test-react-and-mobx-with-jest)
- [react-i18next](https://github.com/i18next/react-i18next/blob/master/package.json) 单元测试代码可以参考
- [mobx-react](https://github.com/mobxjs/mobx-react/blob/master/test/inject.test.js)

## Links

- [ws](https://github.com/websockets/ws)
- [Styled Components](https://github.com/styled-components)
- [Jest](http://facebook.github.io/jest/)