Course Content

  • Redux

Course Content


A store is a simple JavaScript object that enables components to share state. A store can be compared to a database in several ways. Both constructions, at their most basic level, allow us to store data in some form or another.

Any nested components that require access to the Redux store can use the Provider component. Because any React component in a React Redux project can be connected to the store, most apps will render a Provider> at the top level, which will contain the whole app's component tree.

  • getState() - Returns the object tree of the current state.
  • dispatch(action) - To modify the state, dispatch an action.
  • subscribe(listener) - Listen for state tree updates.
  • replaceReducer(nextReducer) - Changes the current reducer to a different one.

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
Apple App Store
598K+ Downloads
App Download Section Circle 1
4.57 Avg. Ratings
App Download Section Circle 2
15K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere