Problem Statement
What method is used to create a Redux store?
Explanation
The createStore function from Redux is used to create the store by passing a reducer function as an argument. The store holds the complete state tree of your application and provides methods like getState, dispatch, and subscribe. Note that in Redux Toolkit, we use configureStore instead which provides better defaults.
