CSCI 344: Fall 2024

Advanced Web Technology

CSCI 344: Fall 2024

UNCA Logo

Assignments > Tutorial 8: React: Making Your First Component

Due on Fri, 11/15 @ 11:59PM. 6 Points.

Video Walkthroughs for Tutorial 8

The following video walkthroughs go over all of the requirements for Tutorial 8. To complete Homework 4, you will have to implement stories, profile, and suggestions on your own as well as liking / unliking posts.

  1. 06:43 Setup
  2. 15:05 Component organization
  3. 04:06 Understanding the NavBar component
  4. 15:40 Fetching Posts from the course API (via HTTP)
  5. 08:55 Creating a Post component
  6. 17:03 Enhancing the Post component
  7. 12:15 Like & Bookmark Buttons
  8. 17:42 Creating & Deleting Bookmarks on the course API (via HTTP)
  9. 12:30 Redrawing the Post after a state change
  10. 02:52 Transpiling and linking to your home page

The folder of videos can also be found here.

Overview

In this tutorial, we will be getting started on some React concepts that should help you in Homework 4. Specifically, we will:

  1. Set up the HW4 starter files.
  2. Walk through the starter code.
  3. Implement the Posts panel (to display a list of posts)
  4. Create a bookmark and immediately redraw the post
  5. Delete a bookmark and immediately redraw the post

What to Submit

To submit this tutorial, please create a link from your homepage to your Homework 4 web page. Then, commit and push all of your edits to GitHub and, paste a link to your GitHub Repository and to your GitHub pages in the Moodle submission for Tutorial 8.