mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-11 13:00:56 -04:00
fix(curriculum): updated transcript in memoization (#61019)
This commit is contained in:
@@ -36,7 +36,7 @@ The memoization process happens this way:
|
||||
|
||||
To improve developer experience with memoization, React provides three tools – `React.memo` (or `memo`), `useMemo` and `useCallback`.
|
||||
|
||||
As you might guess, both `useMemo` and `useCallback` are hooks, but `React.memo` is a component wrapper, a higher-order function (HOC).
|
||||
As you might guess, both `useMemo` and `useCallback` are hooks, but `React.memo` is a component wrapper, a higher-order component (HOC).
|
||||
|
||||
In the next lecture, we will take a look at how the `useCallback` hook and `React.memo` work.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user