Skip to main content

8 docs tagged with "Hooks"

View all tags

Hooks

Hooks were added to React in version 16.8.

useCallback

The React useCallback hook returns a memoized callback function.

useContext

React Context is a way to manage state globally.

useEffect

The useEffect Hook allows you to perform side effects in your components.

useReducer

The useReducer hook is similar (in functionality) to

useRef

The useRef has two purposes:

useState

The React useState Hook allows us to track state in a