October 2019
Intermediate to advanced
426 pages
11h 49m
English
We are going to start by connecting our App component, where we will use the fetch action to fetch all todos from our API, when the app initializes.
Let's connect the App component now:
import { inject } from 'mobx-react'
export default inject('todoStore')(function App ({ todoStore }) {
Read now
Unlock full access