Exploring functions of React
In this section, we will start with an exploration of the function React serves in the website development field. By doing that we hope to get a more accurate description about how React can help us.
The book has been dedicated to introducing a state into a function component under React, especially the hook mechanism. We hope that by reading this book, you get to know how to design hooks in the right way.
When comparing React to other UI frameworks, have you heard that sometimes people refer to it as a utility rather than a framework? There's no clear definition of what should be called a framework and what shouldn't. Judging by the amount of React source code and how it wires with other systems, we can hardly treat it as a utility library. But at the same time, we also should remember the goal that React established with in the first place, because knowing this will help you to use this technology in the right way. Let's take a look...