Sign in Go Pro

React Native with Redux

Dispatching Actions in Redux

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson
Autoplay

Up next

Previous

About

Data in a Redux store is changed by dispatching actions to the reducers, which then return a new value for the store. The second argument to connect allows actions to be dispatched to the store.

Redux will take a dispatched action and run it through all reducers that have been set up with combineReducers. It is then each reducers responsibility to change the store according to that action.

We'll dispatch an add todo action, which will add a new todo items to the Redux store

Summary of Content:

  • Dispatch an add todo action to the Redux store
  • Learn how an action flows through all the reducers
  • Modify the todos reducer to show the dispatched action

Instructor

Links

Comments

There are no comments on this lesson, start the conversation below ...

>
You need to go PRO to post comments.

Lessons in React Native with Redux