Skip to content

Commit 55282f6

Browse files
authored
03.custom-hooks: add caching talk (#221)
1 parent 3748741 commit 55282f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

exercises/03.custom-hooks/README.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,14 @@ There's a strategy to help you avoid dependency arrays talked about in
198198
Additionally, there's a pattern you can use to help reduce the issue (with its
199199
own set of trade-offs) which we'll explore in the React Patterns workshop.
200200

201+
🦉 Better understand memoization by diving deep on caching with my talk [Caching for Cash](https://www.epicweb.dev/talks/caching-for-cash).
202+
201203
🦉 A common question with this is: "Why don't we just wrap every function in
202204
`useCallback`?" You can read about this in my blog post
203205
[When to useMemo and useCallback](https://kentcdodds.com/blog/usememo-and-usecallback).
204206

205207
🦉 And if the concept of a "closure" is new or confusing to you, then
206208
[give this a read](https://mdn.io/closure). (Closures are one of the reasons
207209
it's important to keep dependency lists correct.)
210+
211+

0 commit comments

Comments
 (0)