What is the use of UseMemo

useMemo is a memorise hook that avoid rendering a Component if there is no change in props
let’s take an example when a parent child renders all of it’s children component will render but we can avoid rendering of children if there is no change in th…


This content originally appeared on DEV Community and was authored by John

useMemo is a memorise hook that avoid rendering a Component if there is no change in props
let's take an example when a parent child renders all of it's children component will render but we can avoid rendering of children if there is no change in the props by wrapping
it with a React.useMemo hook


This content originally appeared on DEV Community and was authored by John


Print Share Comment Cite Upload Translate Updates
APA

John | Sciencx (2022-01-15T17:18:05+00:00) What is the use of UseMemo. Retrieved from https://www.scien.cx/2022/01/15/what-is-the-use-of-usememo/

MLA
" » What is the use of UseMemo." John | Sciencx - Saturday January 15, 2022, https://www.scien.cx/2022/01/15/what-is-the-use-of-usememo/
HARVARD
John | Sciencx Saturday January 15, 2022 » What is the use of UseMemo., viewed ,<https://www.scien.cx/2022/01/15/what-is-the-use-of-usememo/>
VANCOUVER
John | Sciencx - » What is the use of UseMemo. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/01/15/what-is-the-use-of-usememo/
CHICAGO
" » What is the use of UseMemo." John | Sciencx - Accessed . https://www.scien.cx/2022/01/15/what-is-the-use-of-usememo/
IEEE
" » What is the use of UseMemo." John | Sciencx [Online]. Available: https://www.scien.cx/2022/01/15/what-is-the-use-of-usememo/. [Accessed: ]
rf:citation
» What is the use of UseMemo | John | Sciencx | https://www.scien.cx/2022/01/15/what-is-the-use-of-usememo/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.