October 2019
Intermediate to advanced
426 pages
11h 49m
English
We repeat the same upgrade process as we did in the App component for the AddTodo component, as follows:
import { inject } from 'mobx-react'
import { useTodoStore } from './hooks'
export default function AddTodo () {
const todoStore = useTodoStore()
Now, our AddTodo component is connected to the MobX store and we can move on to upgrading the TodoFilter component. ...
Read now
Unlock full access