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

Up next



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




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


Lessons in React Native with Redux