- A store is a JavaScript object which can hold the application’s state.
- And it provides a few helper methods to access the state, dispatch actions and register listeners.
- With Store the data state can be synchronized from the server level to the client layer without much hassle.
- This makes the development of large applications easier and faster.
import { createStore } from ‘redux’
import todoApp from ‘./reducers’
let store = createStore(reducer);