-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

React Interview Guide
By :

This chapter offered a thorough understanding of Hooks in React applications. We began by providing an introduction to Hooks, which included the motivation behind Hooks and rules to be followed when using Hooks. We next looked at state management within components using the useState
and useReducer
Hooks, and global state management to share data across components using the useContext
Hook. Thereafter, we covered how to perform side effects in applications with the help of effect Hooks.
Apart from the frequently used built-in Hooks, we discussed accessing DOM nodes using ref Hooks, doing performance optimizations through Hooks, using third-party Hooks, and creating your own custom Hooks for your business needs.
In the next chapter, we will cover an important navigation library known as React Router to navigate from one page to another, and learn about its rich features. Another important topic to be discussed in that chapter is supporting internationalization and creating...