October 2019
Intermediate to advanced
426 pages
11h 49m
English
The next component in our ToDo app is the TodoList component. Here, we just need to get the todo items from the StateContext.
Let's make the TodoList component dynamic now:
import StateContext from './StateContext'
export default class TodoList extends React.Component { static contextType = StateContext
Read now
Unlock full access