October 2019
Intermediate to advanced
426 pages
11h 49m
English
We are now going to make the App component dynamic by adding functionality to fetch, add, toggle, filter, and remove todo items. Furthermore, we are going to define a StateContext provider.
Let's start making the App component dynamic:
import StateContext from './StateContext'
import { fetchAPITodos, generateID } from './api'
export default class App extends React.Component { constructor (props) {
Read now
Unlock full access