Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinb-khan committed Jul 4, 2024
1 parent 5a81b9a commit e5a43dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react-render-perf/lesson-02/content.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ const Bar = React.memo(() => {
the long term I think we should evaluate possible replaces for <code>redux</code> that don't
have this preformance issue like <code>jotai</code>, <code>zustand</code>, or <code>recoil.js</code>.
- <code>React.useMemo(callback)</code> and <code>React.memo(Component, arePropsEqual?)</code> are
both use to memoize things. The former is used for memoizing computations _within_ a functional
both used to memoize things. The former is used for memoizing computations _within_ a functional
component while the latter is used for memoizing functional components themselves.

## Exercise
Expand Down

0 comments on commit e5a43dc

Please sign in to comment.