Problem Statement
What are the three main methods provided by the Redux store and what do they do?
Explanation
The Redux store provides three primary methods: getState which returns the current state object of the application, dispatch which sends actions to the store to trigger state changes through reducers, and subscribe which registers a callback function that gets called whenever the state updates. These methods form the complete API for interacting with the Redux store, allowing you to read state, update state, and listen to state changes respectively.
