- 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.
推薦閱讀
- Google Flutter Mobile Development Quick Start Guide
- Visual Basic編程:從基礎到實踐(第2版)
- Web Development with Django Cookbook
- Django Design Patterns and Best Practices
- D3.js 4.x Data Visualization(Third Edition)
- C++新經典
- Raspberry Pi Home Automation with Arduino(Second Edition)
- PHP從入門到精通(第4版)(軟件開發視頻大講堂)
- 零代碼實戰:企業級應用搭建與案例詳解
- Java Web動態網站開發(第2版·微課版)
- 例說FPGA:可直接用于工程項目的第一手經驗
- Serverless工程實踐:從入門到進階
- Spark for Data Science
- Visual C++實用教程
- Building RESTful Web Services with PHP 7