Skip to the content.

Home Page

Class 29 Notes

Review, Research, and Discussion

  1. We can insure that a useEffect hook runs only once by adding an empty [] to the parameters of the function.
  2. You can update more than one state at one time by using [] with multiple state variables inside.
  3. UseState is a synchronous function.

Terms