This video is available to students only

Module 5 Summary

This lesson is a summary of module 5.0's custom hooks we added to Hardware Handler.

Module 5 summary#

This lesson is a summary of what we've covered in Module 5.0.

In this module, we learned:

How to identify duplicate app functionality and refactor it into a custom hook#

We looked at how a couple of components in our app both called the same department API for different uses.

With a few minor tweaks to a new custom hook we made, it worked perfectly for both scenarios. And we simplified the code in both components that needed the data.

A way to make complex components simpler and easier to understand and maintain#

Custom hooks can also serve the function of taking large, complicated components and breaking them down into less daunting blocks of code.

Start a new discussion. All notification go to the author.