4-2: React Hooks

Learning Objectives:

Building on previous Module, we will have a deeper discussion of common patterns of programming with React. By the end of this module you should be able to:

  • Explain the basic uses of useEffect
  • Explain when a useEffect is executed, and when its return value is executed
  • Construct simple custom hooks and explain why they are useful

Important dates

  • ip1 extension: this will be due on Monday, Sept 28th 11:59pm
  • ip2 due on Monday, Oct 12th 11:59pm.

Lecture

  • This lecture will be live-coded