- Redux Quick Start Guide
- James Lee Tao Wei Suresh Kumar Mukhiya
- 79字
- 2021-07-02 12:40:30
Store
The store stores all of the states of the application. Hence, it is sometimes referred to as the heart of the application. The most important point to note is that there is a single store in the entire application. To create a store, we can use the createStore function provided by Redux:
import { createStore } from 'redux'
import doctorsReducer from './reducers'
const store = createStore(doctorsReducer)
The methods for stores will be explained in the following subsections.
推薦閱讀
- Puppet 4 Essentials(Second Edition)
- OpenDaylight Cookbook
- 零基礎(chǔ)學C++程序設(shè)計
- Python程序設(shè)計(第3版)
- 算法大爆炸:面試通關(guān)步步為營
- Internet of Things with Intel Galileo
- 碼上行動:用ChatGPT學會Python編程
- 深入理解Elasticsearch(原書第3版)
- Selenium Testing Tools Cookbook(Second Edition)
- Julia數(shù)據(jù)科學應用
- Arduino機器人系統(tǒng)設(shè)計及開發(fā)
- Mastering ASP.NET Core 2.0
- 少年小魚的魔法之旅:神奇的Python
- 基于Docker的Redis入門與實戰(zhàn)
- Mastering VMware vSphere Storage