use `todos` store member with `.map()` array method to list the tasks within the `List` component
Epic
- Todo List mini-project
Story
- As a user I want to see an app with a list of tasks to do
Steps
-
firt create the todo
component package onreact-packages
repo thanks to the scriptyarn component-builder
-
edit the component JS file -
inject the todo store class to it pretty much in the same way we do here by using the store name todoStore
instead -
extract the store instance as we do here though here the prop name is this.props.todoStore
-
as an example you can see how .map()
is used here
Edited by Tolga Celik