1. Create a folder store in the project
2. In the Store file, create the index.js file to create the store
3. If the reducer is not introduced, the created store is empty and the reducer must send data to the store
Create the reducer. Js file. Create the reducer
(this.state = store.getState()))
6. Monitor store data changes. Implement the callback function to update state using (store. Subscribe) in the constructor function
Alter table store