Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tkdodo
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
TanStack Start v1 Release Candidate
(tanstack.com)
8 points
by
tkdodo
1y ago
|
1 comments
2.
▲
by
tkdodo
1y ago
> blindly applying React.memo should be a huge win That’s what the react compiler does, and it’s a good idea in that case because the compiler knows how to do it correctly, for _everything_. When humans try to do it, they will likely get
3.
▲
by
tkdodo
1y ago
author here , sorry for the confusion. I did not mean to imply that leaving out the prop from useCallback is better - you _always_ have to adhere to the exhaustive-deps lint rule to avoid stale closures (I have a separate blog post on this
4.
▲
by
tkdodo
3y ago
so cacheTime was really confusing because it seemed like "this is the amount time we cache data for", but that's not what it is. So a rename had to happen. We had some discussion on the public roadmap ( https://gith
5.
▲
by
tkdodo
5y ago
I’ll definitely update that article once the new TS version is released :)