Skip to main content

What is React Hooks?

Published 1 min readMarkdown
Part of seriesReact
What is React Hooks?

Hooks are functions that let you “hook into” React state and lifecycle features from function components. Hooks don’t work inside classes — they let you use React without classes.

Basic Hooks

  • useState
  • useEffect
  • useContext

Additional Hooks

  • useReducer
  • useCallback
  • useMemo
  • useRef
  • useImperativeHandle
  • useLayoutEffect
  • useDebugValue
  • useDeferredValue
  • useTransition
  • useId

Library Hooks

  • useSyncExternalStore
  • useInsertionEffect

Sources:

Hooks API Reference –. (n.d.). React. https://reactjs.org/docs/hooks-reference.html

About the author

  • Full Stack Developer with a passion for building web applications. PHP, Node.js, Laravel, MySQL, MongoDB. Love collaborating & making a difference

No comments yet. Be the first to comment.

More from this blog