Edit Page

Lab 9

Lab 09: Working with APIs in React.js

Objective

  • React Basics: Learn how to build a React app
  • State management: Utilize the useState hook to manage the app’s state
  • Event handling: Implement event listeners to handle user interactions
  • Routing: Employ React Router to implement navigation between different components
  • React Hooks:
    • Use fetch with useState in response to user event.
    • Use fetch with useEffect when the component loads.

Lab Description

Create a React application that allows users to search for recipes and view recipe details including ingredients, instructions, and images.

Submission

  • Please submit a link to your project on CodeSandbox.io.
    • Create a project on CodeSandbox.io, be sure it is set to public, click on share, and copy link.