Writing Your First Application with React Hooks
After learning about the State Hook in-depth, we are now going to make use of it by creating a blog application from scratch. In this chapter, we are first going to learn how to structure React apps in a way that scales well. Then, we are going to define the components that we are going to need to cover the basic features of a blog application. Finally, we are going to use Hooks to introduce state to our application! Throughout this chapter, we are also going to learn about JSX and various JavaScript features. At the end of this chapter, we are going to have a basic blog application, where we can log in, register, and create posts.
The following topics will be covered in this chapter:
- Structuring React projects
- Implementing static React components
- Implementing stateful components with Hooks