Skip to content

The-Marcy-Lab-School/react-useEffect-fetch-example

Repository files navigation

react-useEffect-fetch-example

Using fetch and useEffect to render a joke from the JokeAPI

Setup

  1. cd into the project
  2. npm i to install dependencies
  3. npm run dev to start the development server

Files

The entire application is rendered in the App component found in src/App.jsx.

Challenge

Consider refactoring this application's UI structure such that the UI is divided into the two provided components found in the src/components/ folder: SearchForm and SearchResults.

About

Using fetch and useEffect to render a joke from the JokeAPI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published