- Redux Quick Start Guide
- James Lee Tao Wei Suresh Kumar Mukhiya
- 67字
- 2021-07-02 12:40:29
Read-only nature of the state
Emitting an action is the only way to change the state of a Redux app. Views cannot directly write to the state tree. In Redux, every intent needs to dispatch actions, which tell the reducers (a function) to transform the state. Mutating the state is also not recommended; hence, every time, the reducers write the existing state object with the new version:

推薦閱讀
- C++面向?qū)ο蟪绦蛟O(shè)計(jì)(第三版)
- Visual Basic .NET程序設(shè)計(jì)(第3版)
- Vue.js設(shè)計(jì)與實(shí)現(xiàn)
- 國際大學(xué)生程序設(shè)計(jì)競賽中山大學(xué)內(nèi)部選拔真題解(二)
- Python從菜鳥到高手(第2版)
- Mastering Julia
- Reactive Programming With Java 9
- 新一代SDN:VMware NSX 網(wǎng)絡(luò)原理與實(shí)踐
- OpenCV with Python Blueprints
- 單片機(jī)原理及應(yīng)用技術(shù)
- OpenCV Android開發(fā)實(shí)戰(zhàn)
- Learning Concurrency in Python
- Continuous Delivery and DevOps:A Quickstart Guide Second Edition
- 虛擬現(xiàn)實(shí)建模與編程(SketchUp+OSG開發(fā)技術(shù))
- 零基礎(chǔ)入門學(xué)習(xí)C語言:帶你學(xué)C帶你飛