Summary
In this chapter, we have been able to understand Hooks as a new mind shift in how we add statefulness to components in React. Prior to Hooks, only class components could offer us stateful functionalities. With React 16.8, we are now able to develop stateful functional components in React applications that are more elegant and concise.
The learning curve is easy as we can leverage our understanding of regular JavaScript functions and develop function components to power user interfaces for our web applications. With Hooks in React, user and developer experiences have been greatly improved.
In the next chapter, we will focus extensively on how we can leverage React APIs to fetch data from external sources into our web applications. Most of the applications we use today rely heavily on external data. Undoubtedly, React shines well in this domain.