React Hooks: A brief Introduction

So what is React Hook?

List of Hooks:

  1. useSate
  2. useEffect
  3. useContext
  4. use Reducer
  5. useCallback
  6. useMemo
  7. useRef
  8. useImperativeHandle
  9. useLayoutEffect
  10. useDebugValue

useState:

useEffect:

useContext:

useReducer:

useCallback:

useMemo:

useRef:

useImperativeHandle

useLayoutEffect:

useDebugValue:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store