-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is Redux? #86
Comments
ReduxThree principles
pure function阮一峰说
他说可能是不全面的,也可能是错的。 store
compose
参考阮老师的入门教程写的还是挺不错的 |
redux-saga
问题
Intro
RunIn order to run our Saga, we need to:
redux-saga/BeginnerTutorial.md at master · redux-saga/redux-saga Effectexample
. Effects are simple JavaScript objects which contain instructions to be fulfilled by the middleware.put is one example of what we call an Effect.
Why Do I Need This?
For example, we want to implement Notification 5s后自动消失的功能。 Writing Async Code Inline:
Disadvantage:
|
react-redux
问题1. 简介
API
|
react-routerIntro
APISwitch
Router
删除了外面包裹的Router之后,store中的state终于正常更新了。
我使用的是BrowserRouter route exact
|
reselect: Selector library for Redux
|
styled-components我打算使用material-ui,而不是styled-components. |
redux源代码阅读基础知识目录结构
——from 史上最全的 Redux 源码分析 |
redux-thunk |
作者说
基本概念
概念
The Hitchhikers Guide to react-boilerplate(值得再看一遍)
react-boilerplate Core
Contents
The text was updated successfully, but these errors were encountered: