Sign in Go Pro

React Native with Redux

Passing Parameters to Redux Actions

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson
Autoplay

Up next

Previous

About

Actions are objects, and we can add additional keys to them. That means we can pass params to actions, and add those params to the action - which are then passed to the reducers. We'll use that to pass the new todo .

Summary of Content:

  • Add a parameter to the addTodo action, and pass that with the action to the reducer.
  • Pass in a hardcoded new task to the action, and see that in the console

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