Week 7 Recordings and Downloads

Segment 1: Week overview

Segment 2: Preparing list with style

Segment 3: Practice with spread operator and filter method

Segment 4: Updating state for done/pending tasks

Segment 5: Adding delete action

Segment 6: Assignment overview

Updated code from class

Week 7 Outline

  • Week overview
  • Preparing list with style
  • Review the spread operator for arrays and objects
  • Two principles for updating state
    • States should be immutable: make a copy for the new state
    • State updates depending on the previous state should be specified with a function (old state --> new state)
  • Example: changing 'done' value for a list item
  • Review assignment 5
  • Introduce assignment 6
  • Preview culminating project