Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/resir014/react-redux-typescript-example
Demonstrating the common patterns when using React, Redux v4, and TypeScript.
https://github.com/resir014/react-redux-typescript-example
react redux starter-kit typescript
Last synced: 6 days ago
JSON representation
Demonstrating the common patterns when using React, Redux v4, and TypeScript.
- Host: GitHub
- URL: https://github.com/resir014/react-redux-typescript-example
- Owner: resir014
- Created: 2018-07-06T13:40:29.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T17:31:45.000Z (about 2 years ago)
- Last Synced: 2025-01-25T03:23:10.525Z (13 days ago)
- Topics: react, redux, starter-kit, typescript
- Language: TypeScript
- Homepage: https://resir014.xyz/posts/2018/07/06/redux-4-plus-typescript/
- Size: 1.86 MB
- Stars: 587
- Watchers: 18
- Forks: 149
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-redux-typescript-example
> Demonstrating the common patterns when using React, Redux v4, and TypeScript.
**Example deployment:** [(link)](https://react-redux-typescript-example.now.sh/)
Welcome to the Redux 4 + TypeScript 3.3 example! This example site shows you the ideal project structure, recommended libraries, as well as design pattern on writing type-safe React + Redux app with TypeScript.
This project is intended as a supplement to [this post](https://resir014.xyz/posts/2018/07/06/redux-4-plus-typescript/). To demonstrate it, I created a website which pulls data from the [OpenDota API](https://docs.opendota.com), and display information like professional teams, heroes, as well as top players by hero. This will also demonstrate how to structure your stores for each feature/module in a Redux-enabled app.
This project was bootstrapped with [Create React App](https://create-react-app.dev/).
## Getting started
A Node.js 8.0.0+ setup with [yarn](https://yarnpkg.com/) is recommended.
```bash
# install dependencies
yarn# ...or if you'd like to use npm instead
npm install# serve with hot reload at localhost:3000
yarn start# build for production
yarn build
```