Skip to content

ghola/react-redux-typescript-example

 
 

Repository files navigation

react-redux-typescript-example

Demonstrating the common patterns when using React, Redux v4, and TypeScript.

Welcome to the Redux 4 + TypeScript 2.9 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. To demonstrate it, I created a website which pulls data from the OpenDota API, 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 http://github.com/sw-yx/create-react-app-parcel.

Getting started

A Node.js 8.0.0+ setup with yarn is recommended.

# install dependencies
yarn

# ...or if you'd like to use npm instead
npm install

# serve with hot reload at localhost:1234
yarn start

# build for production
yarn build

About

Demonstrating the common patterns when using React, Redux v4, and TypeScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.9%
  • HTML 1.6%
  • JavaScript 1.5%