Skip to the content.

Home Page

Class 31 Notes

Review, Research, and Discussion

  1. UseReducer is good for handling a lot of data in state to simplify the process and better organize it all.
  2. Custom hooks need the use prefix so that React can differentiate a React hook from just a regular function name.
  3. Custom React hooks do whatever you assign them to do.
  4. UseHide
  5. A hook that triggers a API call is triggered when a specific action is performed. Then can store the API results data in state.

Terms