Introduction
Overview of basic and additional Hooks.
We'll cover the following
Types of Hooks
From this lesson onwards, we’ll summarize all the Hooks available internally and describe how and when they can be used. The official React documentation differentiates between three basic Hooks and seven additional Hooks. These additional Hooks are often used for very specific use cases (such as performance optimizations), or they are extensions of the basic Hooks.
Basic Hooks
The three basic Hooks that we mentioned briefly beforehand are:
useState
useEffect
useContext
Additional Hooks
The seven additional Hooks are:
useReducer
useCallback
useMemo
useRef
useImperativeHandle
useLayoutEffect
useDebugValue
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy