mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(curriculum): updated transcript in memoization (#61019)
This commit is contained in:
parent
52361d1306
commit
efbdec0fe2
@ -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.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user