react-redux-cheatsheet

React Redux Cheat Sheet on Workflow & Concept

Github星跟蹤圖

react-redux-cheatsheet

Version Cheatsheet: 1.1.0
Version Article: 1.2.0

Overview

This repository contains a graphical cheat sheet for the workflow and concept of Redux in two resolutions: 1440px and 3840px.

The idea is to help new and existing Redux users to understand how the general mechanism of Redux works in some more detail and where to hook into this process.

Article

This repo furthermore holds an article that walks you through an extended version of this cheat sheet. Two very common libraries have been added to the extended version: 'react-router' and 'immutable'.

So, in order to supplement existing tutorials, this article describes the Redux conceptual overview and its workflow in a React Redux app. The description is starting with the dominant player in Redux Applications which is the store. Once the workflow is understood, it might probably be much easier to follow all of the above tutorials.

While going the full circle the article also points to some of the common external libraries and how they would come into play: 'immutable', 'normalizr', 'reselect', 'redux-thunk', 'redux-saga', 'redux-promise' and 'redux-persist'.

Please, raise an issue in case you find errors or things to be not clear enough.

Notes

Note, that a one page cheat sheet can not always reflect the general case. This holds true in the following cases:

  1. The store holds the state of the app. The state of the app is typically sliced in slices. A state that is not sliced is a state with a single slice.
  2. An actionCreator() can have a more general interface. If you want to adopt action creators with a common interface, read more about payload in the Flux Standard Action.

Thanks

In case you would like to read detailed comments on this cheat sheet you can go to Redux issue #2254.

Special thanks for improving and correcting this cheat sheet go to:

主要指標

概覽
名稱與所有者uanders/react-redux-cheatsheet
主編程語言
編程語言 (語言數: 0)
平台
許可證Creative Commons Attribution Share Alike 4.0 International
所有者活动
創建於2017-03-01 11:48:02
推送於2017-09-09 19:16:06
最后一次提交2017-09-09 21:15:57
發布數0
用户参与
星數1.5k
關注者數28
派生數137
提交數35
已啟用問題?
問題數1
打開的問題數0
拉請求數1
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?