Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to stop re rendering in react

1. Memoization using useMemo() and UseCallback() Hooks
2. API Call Optimization with React Query
3. Creating Memoized Selectors with Reselect
4. Replace useState() with useRef()
5. Using React Fragments
More details at : https://blog.bitsrc.io/5-ways-to-avoid-react-component-re-renderings-90241e775b8c#:~:text=1.,the%20computational%20load%20in%20applications.
Source by blog.bitsrc.io #
 
PREVIOUS NEXT
Tagged: #stop #rendering #react
ADD COMMENT
Topic
Name
3+9 =