Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.39 KB

README.md

File metadata and controls

50 lines (31 loc) · 1.39 KB

Homework 5

Quickstart

Create a new private repository under your own GitHub account from this template.

Installing required packages

Open the terminal window and type in npm install. This will install all the dependencies listed in the package.json file.

Skeleton code

The homework provided is focused on optimizing React applications using various performance-enhancing techniques. You will work through four main problems, each highlighting a different optimization strategy:

  • Prevent UI blocking with Web Workers
  • Memoize expensive calculation results with useMemo
  • Optimize event handlers with useCallback and memo
  • Virtualize long lists with react-window

Running the application

To run the application, type npm run dev in the terminal. This will start the development server and open the application in your default web browser.

Deliverables

Your submission should properly implement optimization techniques according to the instructions for each of the problems.

Testing

To test your implementation, run npm run test.

Points Breakdown

  • Problem 1: 25 points
  • Problem 2: 25 points
  • Problem 3: 25 points
  • Problem 4: 25 points

Extra Credit

You can earn extra credit by implementing meaningful test cases for problem 4.

Due Date

This homework is due on Friday, December 6, 2024 02:00 PM.