Raja Muhammad Asher
Raja Muhammad Asher

Raja Muhammad Asher

How to prevent re-renders in React?

Photo by Lautaro Andreani on Unsplash

How to prevent re-renders in React?

Raja Muhammad Asher's photo
Raja Muhammad Asher
·Aug 17, 2022·

1 min read

  • Memoization using useMemo() and UseCallback() Hooks
  • API Call Optimization with React Query
  • Creating Memoized Selectors with Reselect
  • Replace useState() with useRef()
  • Using React Fragments
 
Share this