October 2019
Intermediate to advanced
426 pages
11h 49m
English
After connecting the TodoItem component, we can now use the ConnectedTodoItem component in the TodoList component.
Let's connect the TodoList component now:
import ConnectedTodoItem from '../containers/ConnectedTodoItem'
return filteredTodos.map(item => <ConnectedTodoItem {...item} key={item.id} /> )
import { connect } from 'react-redux'
Read now
Unlock full access