Quantcast
Channel: How to add connect with todo list item component - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Mario Tacke for How to add connect with todo list item component

Something like this: class YourComponent extends Component { render () { return ( <div> {this.props.items.forEach((item) => { return <todo id={item.id} todocontent={item.todocontent} />...

View Article



How to add connect with todo list item component

All: I am pretty new to redux and react-redux, I wonder if I design a todo item component(the element unit of a todolist) like const todo => ({id, todocontent}) { return <li...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images