useMemo Hook in React | Memoization in React | Optimisation Techniques

Опубликовано: 20 Октябрь 2024
на канале: Nisha Singla
6,514
197

useMemo Hook is use to implement memoization in React components.

Memoization is a technique for performance optimization where result of expensive function get store in cache and for next calls, instead of executing the function again, it return the data from cache value - it drastically improve the performance.

In REact Components also we can get this with the help of useMemo hook, which is really effective for component performance but use it with proper use case, otherwise it can harm the performance as well :)

►If wanted to know more about memoization, check this video
   • Memoization in JavaScript | JavaScrip...  

Checkout previous video on useContext and useReducer before watching this video

►Checkout previous video redux Toolkit
   • Learn Redux Toolkit in 1 video with P...  



Connect with Me On Social Media
Facebook:   / angularjs4be.  .
LinkedIn:   / nisha-sin.  .
Instagram :   / nishasingla05  
Twitter:   / nishasingla05  

#nishasingla #react #javascript