In Redux, where is the application's state held centrally?

  • In the action creators.
  • In the components.
  • In the middleware.
  • In the store.
In Redux, the application's state is held centrally in the store. The store is a crucial concept in Redux, and it contains the entire state tree of your application. It allows components to access and update the state using well-defined patterns, ensuring a single source of truth for your application's data. While action creators are responsible for creating actions, they don't hold the state centrally.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *