This is an example React app that shows:
- Statefdul functional components
- Application state
- Hooks (
useState
,useEffect
, anduseContext
) - Context providers and consumers
- Non-rendering (data-only) components
- API integration
In the terminal:
git clone https://github.com/ltackett/react-crashcourse-demo-app.git
cd react-crashcourse-demo-app
npm install
npm start
<App>
<ContextProvider>
<Router>
<API />
<SearchPage>
<Search />
</SearchPage>
<ResultsPage>
<Results />
<Pagination />
</ResultsPage>
</Router>
</ContextProvider>
</App>