rjz / typescript-react-redux

A TypeScript-enabled react/redux application
https://rjzaworski.com/c/typescript
Other
124 stars 24 forks source link
jest react redux redux-application typescript

Typescript + React + Redux

All the concepts and tooling you'll need to get started, packed into one tiny counter.

With step-by-step instructions:

  1. TypeScript and Redux: getting started (c75b9f2)
  2. TypeScript and Redux: adding React (c75b9f2)
  3. TypeScript and Redux: async actions (92ef3b0)
  4. TypeScript and Redux: unit testing with Jest (84ff69b)
  5. Integrating TypeScript and redux-thunk (4859392)
  6. DRY-ing up with higher order components (002e3bd)
  7. Generic Redux actions (67718f4)

And a live demo.

Usage

Install and build demo application:

$ npm install
$ npm run build
$ npm start

...now open http://localhost:8080 to see the counter in action!

Tests

Build Status Coverage Status

$ npm test

Issues?

Let's solve 'em!

License

MIT