Skip to content
项目

resir014/react-redux-typescript-example

在 GitHub 查看

关于

演示使用 React、Redux v4 和 TypeScript 时的常见模式。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
-2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

react-redux-typescript-example

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

Example deployment: (link)

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. 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 Create React App.

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:3000
yarn start

# build for production
yarn build

探索相关项目

加载中…