Sign in Go Pro

React Native with Redux

Connecting Forms to 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

Any component can be connected to the Redux store, so we'll connect the Add Todo form to the store directly. We aren't pulling data from the store - but we will dispatch the add todo function when we click "Save" on the form.

Summary of Content:

  • Navigate to the Add Todo form
  • Connect the Add Todo form to the Redux store using connect
  • Set mapStateToProps to undefined - which will be ignored
  • Dispatch the addTodo action with the contents of the Add Todo form

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